[Pythonmac-SIG] Mac OS 10.3.5 and tkinter. (original) (raw)
Jack Jansen Jack.Jansen at cwi.nl
Tue Nov 30 21:46:53 CET 2004
- Previous message: [Pythonmac-SIG] Mac OS 10.3.5 and tkinter.
- Next message: [Pythonmac-SIG] Mac OS 10.3.5 and tkinter.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 26-nov-04, at 23:16, Robert Kern wrote:
/usr/bin/pythonw is a shell script, so it can't be directly called by the #! (it will try to interpret hello.py as a shell script, too, not a Python script; thus the syntax errors).
Use #!/usr/bin/env /usr/bin/pythonw
Ah, that's a much nicer workaround than the one I always suggested (using the path to the interpreter deep in the framework). I've taken the liberty to add it to the FAQ.
Thanks,
Jack Jansen, <Jack.Jansen at cwi.nl>, http://www.cwi.nl/~jack If I can't dance I don't want to be part of your revolution -- Emma Goldman
- Previous message: [Pythonmac-SIG] Mac OS 10.3.5 and tkinter.
- Next message: [Pythonmac-SIG] Mac OS 10.3.5 and tkinter.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]