Python and Red Hat Linux 6
Michael Hudson
mwh21 at cam.ac.uk
Tue Jul 27 07:28:45 EDT 1999
On Tue, 27 Jul 1999, Thomas Bryan wrote:
> Kranio wrote:
>
> > I have the same problem and this solution won't works. If you type
> >
> > $ file.py
> > bash: ./file.py : Command not found
>
> file.py is not in your PATH and isn't found.
>
No, no, that would make sense; you get an error like this if file.py is
found and is executable and has a first line of the form
#!/path/to/executable
and /path/to/executable doesn't exist.
HTH
Michael
More information about the Python-list
mailing list