[Pythonmac-SIG] Difference between pythonw and python?

Michael Hudson mwh at python.net
Wed Mar 31 06:49:55 EST 2004

Jens Miltner <jum at mac.com> writes:

> Am 31.03.2004 um 13:02 schrieb Michael Hudson:
>> Jens Miltner <jum at mac.com> writes:
>>> What exactly (at the code level) is the difference between pythonw and
>>> python?
>> pythonw is a shell script :-)
> Doh! Should've been able to find that out by myself... :-|
> Unfortunately, looking at this doesn't help me with my original
> problem of getting Tkinter to work with my app that embeds python :(
> Do you happen to know why the /usr/bin/python executable differs from
> the Python.app executable, when both are in the same Python.framework?
> I'd assume that when the framework comes with Panther, there shouldn't
> be two python executables...???

It has something to do with the executable (aka argv[0]?) being seen
to be in a bundle.  Is your app that embeds Python a bundle?


  LINTILLA:  You could take some evening classes.
    ARTHUR:  What, here?
  LINTILLA:  Yes, I've got a bottle of them.  Little pink ones.
                   -- The Hitch-Hikers Guide to the Galaxy, Episode 12

More information about the Pythonmac-SIG mailing list