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

Bob Ippolito bob at redivi.com
Fri Feb 10 06:32:53 CET 2006


On Feb 9, 2006, at 8:07 PM, skip at pobox.com wrote:

>
> I want to manipulate iCal from the command line.  Thanks to  
> appscript it
> looks like I'll be able to do what I want.
>
> I wrote a simple skeleton script:
>
>     #!/usr/bin/pythonw

Sounds like you're using OS X 10.3.  It shipped with pythonw as a  
shell script, not an executable.  You need to point it at the actual  
binary:
/System/Library/Frameworks/Python.framework/Versions/2.3/Resources/ 
Python.app/Contents/MacOS/Python

If you upgrade to 10.4, this should work.

-bob



More information about the Pythonmac-SIG mailing list