Running two python versions in 12.04
Jim Byrnes
jf_byrnes at comcast.net
Wed Mar 12 13:39:29 UTC 2014
On 03/12/2014 12:03 AM, Erick Ocrospoma wrote:
> Virtualenv[1] will help you in this case.
>
>
> [1] www.virtualenv.org/
I've read about virtualenv and always came away a little confused. I
think it is over kill for my needs, but if I am wrong I will have to
spend more time to understand it.
Thanks, Jim
>
> 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
>
>
>
More information about the ubuntu-users
mailing list