why use #!/usr/bin/env python rather than #!python?

Adriano Ferreira a.r.ferreira at gmail.com
Fri Dec 2 08:54:49 EST 2005


Many Python scripts I see start with the shebang line

#!/usr/bin/env python

What is the difference from using just

#!python

Regards,
Adriano.



More information about the Python-list mailing list