[Pythonmac-SIG] strange #!/usr/bin/pythonw behavior...

Robert Kern robert.kern at gmail.com
Fri Feb 10 16:25:52 CET 2006


skip at pobox.com wrote:
>     >>> #!/usr/bin/pythonw
> 
>     Bob> Sounds like you're using OS X 10.3.  It shipped with pythonw as a  
>     Bob> shell script, not an executable.  
> 
>     skip> Yes, thanks.  Shoulda thought to actually look at
>     skip> /usr/bin/pythonw...
> 
> Alas, explicitly specifying the long path didn't work either.  It bombs on
> import of appscript:

Try

#!/usr/bin/env /usr/bin/pythonw

-- 
Robert Kern
robert.kern at gmail.com

"In the fields of hell where the grass grows high
 Are the graves of dreams allowed to die."
  -- Richard Harter


More information about the Pythonmac-SIG mailing list