[Tutor] which version do i have and how do i change it

Walter Prins wprins at gmail.com
Tue Aug 16 01:48:08 CEST 2011


On 16 August 2011 00:43, Connor Merritt <kingconnor333 at gmail.com> wrote:

> So i installed python 2.7.1 on my linux and i bought a book that requires
> python 3 so installed python 3, and i used terminal and typed in python -V
> and it said 2.7.1 how do i get it to be 3 (i tried deleting it but i
> couldn't what should i do?)
>

Try

python3 -V

The default is probably still Python2 but that does not mean you can't use
Python explicitly.

Walter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110816/a992e0de/attachment.html>


More information about the Tutor mailing list