Most common #! format

Paul Jackson pj at
Wed Mar 1 23:34:53 CET 2000

Don't know which is the most common, but:


is a likely candidate for the least common.  

That's because this '#!' interpreter syntax requires the
full path (or at least a path relative to the current working
directory) of the interpreter.

That is, it doesn't to $PATH (execvp or execlp) path searches.


See also a thread in comp.lang.python, late April 1988,

    Advantages of #!/bin/env python?

which discusses the pros and cons of these alternatives.

I won't rest till it's the best ...	   Software Production Engineer
Paul Jackson (pj at; pj at 3x1373

More information about the Python-list mailing list