"Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:

> You can interact just fine, just qualify the objects with the module 
> names. So in q, you need to use p.r instead of just r.

No. When p.py is being run as a script, the module you need to access is 
__main__.

Much better to put the globals into a separate module created specifically 
to hold the global variables rather than having them in something which 
might or might not be the main script.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to