FAQ
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

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
grouppython-list @
categoriespython
postedNov 2, '02 at 1:13p
activeNov 2, '02 at 1:13p
posts1
users1
websitepython.org

1 user in discussion

Joe Block: 1 post

People

Translate

site design / logo © 2022 Grokbase