It appears that Python Launcher doesn't work under OS X Leopard.
The Python Launcher doesn’t work with OS X Leopard article by Aral Balkan, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial 2.0 UK: England License.
Python Launcher is used to launch Python apps by double-clicking on them in the Finder, and is thus useful when testing GUI Python apps.
I wasted a bit of time trying to track down where exactly I had done something wrong in configuring my system so I hope this simple post keeps someone else from the same fate! :)
Based on the issue ticket at python.org, the bug appears to be fixed but I'm not sure which version it will be/was released in (I'm running Python 2.5.1 and experiencing the issue).
Related links:
- PythonLauncher not working correctly on OS X 10.5/Leopard
- Topic : Python Launcher Broken
- Python launcher not working on Mac after Leopard upgrade?
- http://www.macintouch.com/readerreports/leopard/topic4381.html (search for "Python Launcher" in the page).
The Python Launcher doesn’t work with OS X Leopard article by Aral Balkan, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial 2.0 UK: England License.
Check the python-mac mailing list. This bug is mentioned a lot, and if I remember correctly, there is a solution.
I don’t know if this’ll help, but so long as your script-s shebanged, you can rename it to .command and it’ll basically run with a doubleclick