Access to main namespace from imported module?
Aahz
aahz at pythoncraft.com
Mon Apr 1 14:22:28 EST 2002
In article <re8haugrbcchbephckl9t1p1s27tvg18hr at 4ax.com>,
Dale Strickland-Clark <dale at riverhall.NOTHANKS.co.uk> wrote:
>
>Just curious, like, but is it possible for an included module to
>reference the namespace of the outer-most module, "__main__".
Okay, now that you know how to do it, tell us why you think you need it
so we can tell you a better way to do it.
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
Why is this newsgroup different from all other newsgroups?
More information about the Python-list
mailing list