calling python interpreter

Kranio kranio at nospam.nospam.it
Tue Aug 31 08:48:02 EDT 1999


Under Red Hat 5.x I use to call the file pippo.py as

$ python pippo.py

I would like to call it as

$ ./pippo.py 

by writing the first line

#!/usr/bin/python

but it gave me "access denied" message. The interperter is in the
right dir and I am the owner of the file; tha same happens being root.
What is the problem?

Marco Buzzo




More information about the Python-list mailing list