How can module determine its own path?

kj no.email at please.post
Fri Oct 30 18:19:46 CET 2009



How can a module determine the path of the file that defines it?
(Note that this is, in the general case, different from sys.argv[0].)

TIA!

kynn



More information about the Python-list mailing list