execfile('bla.py'), can bla.py know its full path

Harald Kirsch kirschh at lionbioscience.com
Fri Feb 2 08:08:20 EST 2001


When a script is called by execfile, can it find out the full absolute
path name by which it was called?


  Harald Kirsch

-- 
----------------+------------------------------------------------------
Harald Kirsch   | kirschh at lionbioscience.com | "How old is the epsilon?"
LION Bioscience | +49 6221 4038 172          |        -- Paul Erdös



More information about the Python-list mailing list