Namespaces, classes, and using standard modules

Fredrik Lundh fredrik at
Wed Aug 13 15:54:49 CEST 2003

Dan Rawson wrote:

> I would have expected that importing os from the interactive prompt
> would have worked, and that the 'import os' statement in
> would have been ignored.

every module has its own namespace.

> Any comments or clues about how this SHOULD work would be appreciated!

the manual is a good place to start:


More information about the Python-list mailing list