In article <mailman.1678.1382943105.18130.python-l...@python.org>,
 Chris Angelico <ros...@gmail.com> wrote:

> If it starts with "#!/usr/bin/python", it'll get
> dropped through to Python for execution.

Even better (for most purposes), use "#!/usr/bin/env python".  What that 
does is (slight handwave here) search your PATH to find the same version 
of Python you would get if you typed "python" at a shell prompt.

If you've only got a single version of python installed, it doesn't 
matter.  But it'll matter a lot if you have multiple versions (or even 
multiple installations of the same version, but with different sets of 
installed modules).
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to