Pythonwin Reset

tim muddletin timmuddletin at news.vex.net
Sun Nov 28 11:50:45 EST 1999


On Sun, 28 Nov 1999 16:29:35 GMT, Gordon Williams <g_will at cyberus.ca> wrote:
>NameError: __main__
>
>what has gone wrong?

A non-obvious gotcha. You have to "import __main__" first, to get access
to the namespace in that way.






More information about the Python-list mailing list