[Pythonmac-SIG] appscript

Jacob Kaplan-Moss jacob at jacobian.org
Sun Feb 13 01:04:52 CET 2005


On Feb 12, 2005, at 11:02 AM, Michael Terry wrote:
> I installed the appscript module. Can someone explain to me why the 
> following script:
>
> #!/usr/bin/pythonw

Michael --

It's because pythonw is a script itself; bash doesn't like #! lines to 
use other scripts.  It's easily enough fixed, though; just use:

#!/usr/bin/env pythonw

and you should be fine.

Jacob



More information about the Pythonmac-SIG mailing list