Newbie Q: Pythin scripting

Dave Van den Eynde dave at groovbird.com
Fri Aug 4 09:11:10 EDT 2000


Hello,

Consider me a newbie, but I have the following problem. When I make a script
to run under bash, the first line that I make is :

    #! /usr/bin/python

but then after trying ./scriptfile bash comes back with "bash: ./scriptfile:
No such file or directory.". When I do it like this:

  #! /usr/bin/env python

like the module mailbox.py does, it comes back with: ": No such file or
directory"

I know about chmod u+x, and I know about paths etc. I just can't figure
this one out.

Any of you have any ideas?

Dave






More information about the Python-list mailing list