Jump to content

Python version in Xcode?


3 posts in this topic

Recommended Posts

I was wondering what version of python Xcode has. I'm intrigued by the GUI building aspect of Xcode and would like to use it. However I would hope the python version is 2.5 or later.

 

Also, by installing the newset python for OSX, will that update the version contained within Xcode?

 

Sorry if these are noobie questions but I'm a windows developer so this is a whole new world for me :3

Link to comment
Share on other sites

Python comes as part of Mac OS X, not part of Xcode (what Xcode brings to the mix is PyObjC, the bridge from Objective-C to Python).

 

Xcode will use whatever version of Python it finds on your system. To find the version installed on your system, open a terminal session, and at the prompt type python. You'll get a response like:

 

Python 2.5.1 (r251:54863, Apr 15 2008, 22:57:26) 
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin

That's the active version of Python on your system. The above is from Mac OS X 10.5.6.

Link to comment
Share on other sites

 Share

×
×
  • Create New...