Elisha Rosensweig wrote:
Hi,

How can I determine the directory in which a module is located, from within that module?
sys.modules[__name__].__file__

--
Bob Gailer
Chapel Hill NC
919-636-4239
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to