variable scoping across imports?

Kragen Sitaker kragen at pobox.com
Sun Dec 2 04:33:39 EST 2001


"Fredrik Lundh" <fredrik at pythonware.com> writes:
> when you run "python x.py", that script runs in the
> __main__ namespace.

Oops, I didn't make the connection that x.py was also __main__.  I
guess I should try not to post so late.  Thanks.




More information about the Python-list mailing list