import X between submodules in a package
Donn Ingle
donn.ingle at gmail.com
Wed Dec 19 07:39:51 EST 2007
More information about the Python-list mailing list
Wed Dec 19 07:39:51 EST 2007
- Previous message (by thread): import X between submodules in a package
- Next message (by thread): import X between submodules in a package
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> would be a VeryBadThing(tm). :) > Having explicits imports in each module is good wrt/ readability. Okay, I can accept that. I worry that it's opening the module file over and over again - or does it open it once and kind of re-point to it when it hits a second import of the same thing? > package, you can of course factor them out in a distinct submodule and > just do a 'from myimports import *' at the top of the others submodules... Good point. \d
- Previous message (by thread): import X between submodules in a package
- Next message (by thread): import X between submodules in a package
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list