D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] python versions

 

On Tue, 27 Jul 2010 16:50:17 +0100
Neil Winchurst wrote:

> I have both python v2 and python v3 installed. When I just type in 
> 'python' into a terminal screen I get v2. I need to enter 'python3'
> to get the newer version. I seem to remember that there is a way to
> make the 'python' instruction find the newer version automatically.
> 
> Is my memory failing me or can anyone remind me how it is done please?
> 
> Thanks
> 
> Neil

There is a fair bit of difference between Python 2.x and 3.x, and since
a large proportion of Python scripts/apps are written for 2.x, I
wouldn't recommend making Python 3.0 the 'default' just yet - you may
find a lot of things stop working if you do.

Grant.

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq