a module finding its own name

Batista, Facundo FBatista at uniFON.com.ar
Fri Sep 10 10:09:16 EDT 2004


[Alexander Schmolck]

#- Is there a more or less sane way for a module to find its own name?

Yes, look in __name__.

.	Facundo



More information about the Python-list mailing list