Hi, I am trying to access a module's own data inside it's __main__.py
.
The structure is as follow:
mymod/
__init__.py
__main__.py
Now, if I expose a variable in __init__.py
like this:
__all__ = ['foo']
foo = {'bar': 'baz'}
how can I access foo from __main__.py
?