Most common #! format

Randall Hopper aa8vb at
Thu Mar 2 20:46:39 CET 2000

Chuck Esterbrook:
 |What's the most common #! format?
 |#!/usr/bin/env python
 |or something else?

I don't think anyone really knows... (who has looked at all UNIX python
apps written anyway?)

FWIW, I tend to use the latter on UNIX.  python is /usr/bin/python or
$HOME/bin/python some places, and the latter handles that.  The second
command, OTOH, requires script-hacking by the installer or a wrapper

Randall Hopper
aa8vb at

More information about the Python-list mailing list