[Pythonmac-SIG] How-To upgrade Apples python installation in Mac OS X 10.3 from python 2.3 to 2.4

Bob Ippolito bob at redivi.com
Wed Dec 8 20:19:20 CET 2004


On Dec 8, 2004, at 2:13 PM, Christian Meesters wrote:

>
> On Dec 8, 2004, at 11:04 AM, Bob Ippolito wrote:
>
>> On Dec 8, 2004, at 1:53 PM, Christian Meesters wrote:
>>
>>> On Dec 8, 2004, at 1:06 AM, Robert Valsjö wrote:
>>>
>>>> How to upgrade Apples python installation in Mac OS X 10.3 from 
>>>> python 2.3 to 2.4
>> ...
>>
>>> Thanks, interesting. But does anybody know how this will effect 
>>> pythonw (e.g. for use with wxPython)?
>>> Admittingly I'm a bit hesitant to try out.
>>
>> The title is incorrect, it doesn't upgrade anything.  It installs a 
>> new Python that is entirely separate from the existing installation.
>>
>> /usr/local/bin/python is Python 2.4.0
>> /usr/bin/python is Python 2.3.0
>>
>> /usr/local/bin/pythonw is Python 2.4.0
>> /usr/bin/pythonw is Python 2.3.0
> Sure, I realised that we are dealing here with a fresh installation, 
> but wasn't aware that this will include the pythonw framework. I guess 
> your explicit statement is enough for people like me to understand 
> ;-). I'll try it out this afternoon.

pythonw is a shell script that has always shipped with framework builds 
of Python 2.3.0 and later, just like a pythonw.exe has shipped with the 
Windows version of Python for quite some time.  There's nothing special 
about it.  The fact that it happens to use a "fake" application bundle 
that lives in the deep dark depths of Python.framework is really just 
an implementation detail.

-bob



More information about the Pythonmac-SIG mailing list