opposite of import

Simon Brunning simon at brunningonline.net
Thu Aug 3 10:28:05 EDT 2006


On 8/3/06, John Salerno <johnjsal at nospamgmail.com> wrote:
> According to Python in a Nutshell, references are stored in the
> dictionary sys.modules, but I'm not sure if it matters that it's not
> __modules__ instead (unless that also exists).

Right you are - it's sys.modules, not sys.__modules__.

-- 
Cheers,
Simon B,
simon at brunningonline.net,
http://www.brunningonline.net/simon/blog/



More information about the Python-list mailing list