SciPy 0.6.0 API Documentation Generated by Endo, 2007-10-17
Postpone module import to future.
Python versions: 1.5.2 - 2.3.x Author: Pearu Peterson <pearu@cens.ioc.ee> Created: March 2003 $Revision: 922 $ $Date: 2004-11-27 14:23:27 -0700 (Sat, 27 Nov 2004) $
DEBUG = 0
Disable postponed importing.
Enable postponed importing.
ppimport(name) -> module or module wrapper
If name has been imported before, return module. Otherwise return ModuleLoader instance that transparently postpones module import until the first attempt to access module name attributes.
ppimport(module, name) is 'postponed' getattr(module, name)
Return resolved object a.
a can be module name, postponed module, postponed modules attribute, string representing module attribute, or any Python object.
| Local name | Refers to |
|---|---|
| os | os |
| sys | sys |
| traceback | traceback |
| types | types |
| _builtin | __builtin__ |
| _inspect | inspect |