How to obtain python file path

Dan Grassi dan at grassi.org
Tue Apr 1 16:34:36 EST 2003


I need to obtain the full path of the python.py file that the program is 
executing from wether imported or run as main.

Sorry but I have looked and can't find the docs.

TIA,

Dan




More information about the Python-list mailing list