a module finding its own name
Skip Montanaro
skip at pobox.com
Fri Sep 10 10:19:17 EDT 2004
More information about the Python-list mailing list
Fri Sep 10 10:19:17 EDT 2004
- Previous message (by thread): a module finding its own name
- Next message (by thread): [Away From Office] Re: Failure
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Alexander> Is there a more or less sane way for a module to find its own
Alexander> name?
Sure.
print __name__
Skip
- Previous message (by thread): a module finding its own name
- Next message (by thread): [Away From Office] Re: Failure
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list