1.1.2 Running scripts with a GUI

There is one Mac OS X quirk that you need to be aware of: programs that talk to the Aqua window manager (in other words, anything that has a GUI) need to be run in a special way. Use pythonw instead of python to start such scripts.

Vedete Circa questo documento... per informazioni su modifiche e suggerimenti.