Python and Red Hat Linux 6
Thomas Bryan
tbryan at arlut.utexas.edu
Tue Jul 27 06:07:28 EDT 1999
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.
> $ ./file.py
>
> but the output is
>
> bash: file.py : Permission denied
Now you've specified the path, and file.py is found, but you
haven't made the file executable.
chmod u+x file.py
./file.py
> Any good solution?
man chmod
:)
-------------------------------------------
Tom Bryan
Applied Research Laboratories
University of Texas at Austin
More information about the Python-list
mailing list