Python and Red Hat Linux 6

Kranio kranio at nospam.nospam.it
Tue Jul 27 05:51:40 EDT 1999


On Mon, 26 Jul 1999 21:40:18 GMT, Brian Pedersen
<brian.pedersen at mail.danbbs.dk> wrote:
>Try 
>
>!#/usr/bin/env python 
>
>instead (don't ask me why, i read it in a FAQ somewhere :-)
>--                                                             
>Brian Pedersen, M.Sc.E.E.  

I have the same problem and this solution won't works. If you type

$ file.py
bash: ./file.py : Command not found

is a normal behaviour. But the correct syntax should be

$ ./file.py

but the output is

bash: file.py : Permission denied

Any good solution?

Marco 




More information about the Python-list mailing list