"#!/usr/bin/env python" vs. "#!/usr/bin/python"?

Gilles nospam at nospam.com
Fri Sep 28 06:32:49 EDT 2012


Hello

I've seen both shebang lines to run a Python script on a *nix host:

#!/usr/bin/env python
#!/usr/bin/python

What's the difference?

Thank you.



More information about the Python-list mailing list