in os module there is many funktion/methods to extract this information to ask the path to the current running pythonprogram you can do likes this
----- CUT----------- import os print os.getcwd() ----- CUT ------ // Anders Michael Malinowski skrev: > Is there a way to read the directory that the currently running python file > is located in? > Cheers > Mike. -- http://mail.python.org/mailman/listinfo/python-list