import X between submodules in a package

Donn Ingle donn.ingle at gmail.com
Wed Dec 19 10:43:13 EST 2007


> You guess. When fisrt imported, the module's source is executed, a
> module object is created and stored in sys.modules, and the needed names
> are inserted into the importing module's namespace. Next times the
> module is "served" directly from sys.modules.

Peachy, thanks.

\d




More information about the Python-list mailing list