execfile question: name of the files being executed

Massimo massimo.lamanna at cern.ch
Thu Oct 3 05:48:42 EDT 2002


Hi,
I'm trying to get the equivalent
information I have in Perl with
the $0 or $PROGRAM_FILE variable:
the name (full path) of the script
I'm executing via execfile() from
inside the script itself.
   Thanx, Massimo



More information about the Python-list mailing list