I thought I understood how import worked...

Roy Smith roy at panix.com
Tue Aug 7 19:05:32 EDT 2012


In article <mailman.3071.1344380066.4697.python-list at python.org>,
 Cameron Simpson <cs at zip.com.au> wrote:

> This, I think, is a core issue in this misunderstanding. (I got bitten
> by this too, maybe a year ago. My error, and I'm glad to have improved
> my understanding.)
> 
> All of you are saying "two names for the same module", and variations
> thereof. And that is why the doco confuses.
> 
> I would expect less confusion if the above example were described as
> _two_ modules, with the same source code.

+1



More information about the Python-list mailing list