Newbie want Python CGI on Mac OS X10.2
Joe Block
jpb at ApesSeekingKnowledge.net
Sat Nov 2 08:13:18 EST 2002
In article <mailman.1036085671.11687.python-list at python.org>,
sismex01 at hebmex.com wrote:
> > From: Mel Bohince [mailto:melbohince at attbi.com]
> >
> > I'm suspicious of the first line:
> > #!/usr/lib/python I've tried #!/usr/lib/ python, #!/usr/bin/python,
> > #!/usr/bin/env python
> >
> > what exactly is this to be?
> >
>
> Ehh, good reason to be suspicious about it!
> It's a specially-formatted comment, and it indicates
> the pathname of the interpreter. You have to look
> exactly where the "python" executable you need is,
> and place that full pathname after the "#!".
#! /usr/bin/python works fine on OS X 10.2 for me.
jpb
More information about the Python-list
mailing list