Hi All, have a question
Peter Hansen
peter at engcorp.com
Wed Feb 11 17:26:23 EST 2004
"Batista, Facundo" wrote:
>
> If you type "python" in the command line, it opens the interpreter?
>
> If yes, you can put "#!/usr/bin/env python" in the first line of the script.
>
> And remember, in either case, the second line *must* be blank.
Why is that? I've never heard this advice before, and it doesn't seem
to be necessary, as a test I just did suggests. (RedHat 8.0, Py 2.2.1)
-Peter
More information about the Python-list
mailing list