Use pythonw instead of python to start such scripts. GUIを持ったスクリプトを実行するには python の代わりにpythonw を使ってください。 - Python
A script runs from an application bundle either when it has been started with pythonw instead of python or when running as an applet.On Mac OS 9 the method always returns True. Mac OS 9 上ではこの関数はつねに True を返します。 - Python
Copyright 2001-2004 Python Software Foundation.All rights reserved. Copyright 2000 BeOpen.com.All rights reserved. Copyright 1995-2000 Corporation for National Research Initiatives.All rights reserved. Copyright 1991-1995 Stichting Mathematisch Centrum.All rights reserved.