notbob wrote:
> Do python scripts require the:
>
> #!/usr/bin/env python
An appropriate shebang is required if you intend to use the module itself as
a script, from the command line, like:
$ ./my_module.py argument argument ...
It is not required merely to import the module into a python program or
interpreter. Even without the shebang, the module can be run indirectly
with:
$ python ./my_module.py argument argument ...
or, if the module is somewhere on your sys.path:
$ python -m my_module argument argument ...
Jeffrey
--
http://mail.python.org/mailman/listinfo/python-list