Adriano Ferreira wrote: > Many Python scripts I see start with the shebang line > > #!/usr/bin/env python > > What is the difference from using just > > #!python
#v+ $ ls -l /tmp/hello.py -rwxr-xr-x 1 klaus klaus 38 2005-12-02 14:59 /tmp/hello.py $ cat /tmp/hello.py #! python print 'Hello, world!' # eof $ /tmp/hello.py bash: /tmp/hello.py: python: bad interpreter: No such file or directory $ #v- Cheers, -- Klaus Alexander Seistrup Copenhagen, Denmark http://streetkids.dk/ -- http://mail.python.org/mailman/listinfo/python-list