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