|
From: Friedrich R. <fri...@gm...> - 2010-04-01 21:44:25
|
Hmm, I wrote one time a lazy-import module, you create objects and use
their attributes, but the object imports the module not earlier than
the first attribute access. Thus these objects are used like the
module via "import module". I.e., module = Lazy('matplotlib.module').
There are also wrappers for classes for replacement of "from moudule
import Class" syntax. Is anybody interested, anyway?
Friedrich
|