Connecting Tech Pros Worldwide Forums | Help | Site Map

Python Compatability and Upgrading Python on Mac OS X

Newbie
 
Join Date: Oct 2008
Posts: 14
#1: Oct 4 '08
Hey,

My prof just out of the blue decided that we would teach ourselves python over the weekend.

I am running Mac OS X Version 10.4.10 and Python version 2.3.5 came pre-installed on my machine. I have done a bit of looking around but found no good explanation of how to upgrade this. I know the marker will be using Python 2.5.1, will anything that I write in Python version 2.3.5 work on the later version? Or is NOT backwards compatible.

Thanks so much!

PS For anyone else trying to learn python I found this page very helpful

http://www.developertutorials.com/tutorials/python/learn-python-in-10-minutes-7-12-12/page1.html

Smygis's Avatar
Member
 
Join Date: Jun 2007
Posts: 100
#2: Oct 4 '08

re: Python Compatability and Upgrading Python on Mac OS X


A program written in Python 2.3 will work in python 2.5, but it may not work in python 2.2.

But why dont you simply go to www.python.org/download and get a newer version. So you can use the nice new stuff.
Newbie
 
Join Date: Oct 2008
Posts: 14
#3: Oct 5 '08

re: Python Compatability and Upgrading Python on Mac OS X


Quote:

Originally Posted by Smygis

A program written in Python 2.3 will work in python 2.5, but it may not work in python 2.2.

But why dont you simply go to www.python.org/download and get a newer version. So you can use the nice new stuff.


Done and thanks Smygis.
Reply