Interpreter problem
Steve Holden
steve at holdenweb.com
Fri Apr 8 10:23:30 EDT 2005
Greg Lindstrom wrote:
> I am using python 2.3.5 on a Linux system and have an odd problem
> dealing with the 'sha-bang' line. I have a file, driver.py which starts
> with
>
> #!/usr/bin/python
>
> and works fine (that is, when I type in ./driver.py at the command
> prompt the file runs as expected). I have another file, myotherfile.py
> which starts with the exact same line (#!/usr/bin/python) but I get
>
> : bad interpreter: No such file or directory
>
There's almost certainly a carriage return as well as a newline in the
shebang line.
[...]
regards
Steve
--
Steve Holden +1 703 861 4237 +1 800 494 3119
Holden Web LLC http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
More information about the Python-list
mailing list