How to obtain python file path

Dan Grassi dan at
Tue Apr 1 23:34:36 CEST 2003

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

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



More information about the Python-list mailing list