I thought I understood how import worked...

Terry Reedy tjreedy at udel.edu
Tue Aug 7 12:49:21 EDT 2012


On 8/7/2012 9:28 AM, Ramchandra Apte wrote:
> I don't think the modules are actually imported twice.

This is incorrect as Roy's original unposted example showed.
Modify one of the two copies and it will be more obvious.

PS. I agree with Mark about top posting. I often just glance as such 
postings rather that go look to find out the context. However, this one 
is wrong on its own ;-).

-- 
Terry Jan Reedy




More information about the Python-list mailing list