[Pythonmac-SIG] Double-clickable wxpython application?
Kevin Horton
khorton01 at rogers.com
Wed Apr 9 02:54:49 CEST 2008
On 8 Apr 2008, at 15:38, Henning Hraban Ramm wrote:
> Try to map *.py on Python Launcher.
I didn't even know PythonLauncher.app existed, but SpotLight found
it, and I did the mapping. PythonLauncher from Apple's python 2.3 on
OS 10.4 didn't work, but the one from MacPython 2.5 did work. At
least this worked on my machine, running 10.4. But, on my wife's
machine, running 10.5, where this script will live once it is
polished up, PythonLauncher will not do the job. It starts, then a
Terminal window opens, then PythonLauncher quits. I tried with both
the system python, and with MacPython. I tried logging out, and back
in, but that did not help. I'll play with this some more tomorrow
evening.
> And I guess it helps if you make your script executable (chmod a+x)
> and have a working shebang line like this:
>
> #!/usr/bin/env python
Already done.
Thanks for your assistance.
Best regards,
--
Kevin Horton
Ottawa, Canada
More information about the Pythonmac-SIG
mailing list