Running two python versions in 12.04

Erick Ocrospoma zipper1790 at gmail.com
Wed Mar 12 05:03:14 UTC 2014


Virtualenv[1] will help you in this case.


[1] www.virtualenv.org/

On 11 March 2014 21:20, Jim Byrnes <jf_byrnes at comcast.net> wrote:
> I would like to add Python 3.3 to my 12.04 installation.  I am thinking of
> using the  deadsnakes PPA to do the installation.  If i do that am I correct
> in thinking:
>
> There will be no conflicts - the system will still use Python 2.7.3?
>
> To run a Python 2 program I would type python program_name.py or put just
> python in the shebang line?
>
> To run a Python 3 program I would type python3 program_name.py or put
> python3 in the shebang line?
>
> It would be great if someone who has done this can tell me if I am correct
> or not.
>
> Thanks,  Jim
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



-- 


~ Happy install !


Erick.

---

Cellphone   :  +51 950307809
IRC     :   zerick
About :  http://about.me/zerick
Linux User ID :  549567




More information about the ubuntu-users mailing list