[Tutor] Python Versions

Kent Johnson kent37 at tds.net
Wed Dec 12 13:37:47 CET 2007


Gman wrote:
> Hmm how do I put this without looking completely igrint! 

No worries, this is a list for beginners!

> I have 2.51 and have been encountering many errors  
> when I try to use some examples from the book "A byte of python". At first  
> I thought well a few minor things I will just move on and try the next.  
> Well some work and others dont, and mind you I am only trying to get the  
> basics down.Anyhow in the forward of the book it is refering to 2.3, could  
> the very basics have changed from 2.3 to 2.5. Once again not all of them  
> just some of them.

Most of the changes from Python 2.3 to 2.5 are backward-compatible. You 
should not be having many problems with the examples. Post specifics 
here so we can help. Please show the exact code you are trying, and the 
complete error message including traceback.

Read the details of what has changed here:
http://www.python.org/doc/2.4.4/whatsnew/whatsnew24.html
http://docs.python.org/whatsnew/whatsnew25.html

Kent


More information about the Tutor mailing list