How can I get a reference to a module from within that module? Also, how can I get a reference to the package containing that module?
import sys current_module = sys.modules[__name__]
1.4m articles
1.4m replys
5 comments
57.0k users