Nevermind, I got it using the sys.argv[0]

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Michael Malinowski
Sent: Friday, December 01, 2006 9:07 AM
To: python-list@python.org
Subject: How to read the directory which the actively running python file
islocated in?

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

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to