attribut of the current module

Oleg Orlov11980884 orlov at diasoft.ru
Fri Sep 21 02:52:29 EDT 2001


How can i get attribut of the current module?

Ugly way: getattr(__import__(__name__), attribname)

Thnks, Oleg.






More information about the Python-list mailing list