Obtaining hte currently running script under windows

kyosohma at gmail.com kyosohma at gmail.com
Fri Jun 8 13:55:03 EDT 2007


On Jun 8, 8:45 am, Sean Farrow <sean.far... at seanfarrow.co.uk> wrote:
> Hi:
> Is there any way to obtain the full path to the currently running script
> under win32?
> I am using the pythonw.exe file is that helps.
> Sean.

Check out Google! I found the following link by typing "python os cwd"

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/474083

Mike




More information about the Python-list mailing list