[Pythonmac-SIG] executing scripts on OS X

Richard Gordon richard@richardgordon.net
Mon, 9 Jul 2001 09:40:32 -0400


At 9:29 PM +0900 7/9/01, parks  kevin wrote:
>oh, sorry i mistyped in the e-mail message (should have copied). The 
>scripts itself is #! correct. but still no go.

Are you sure that python is installed in /usr/local/bin ? I don't 
know too much about OS X, but I would assume that if you do

whereis python

from the command line, you can confirm this. Alternatively, using

#!/usr/bin/env python

in your script usually works.


Richard Gordon
--------------------
Gordon Design
Web Design/Database Development
http://www.richardgordon.net