[SciPy-user] help and lazy-import (?)

Arnd Baecker arnd.baecker at web.de
Fri Feb 27 11:12:09 CST 2004


there there seems to be something weird
going on when trying to access help in the following way

>>> import scipy
>>> help("scipy.linalg")
Help on instance of _ModuleLoader in scipy:

scipy.linalg = <module 'scipy.linalg' from '/opt/python/lib/pyt...
e-packages/scipy/linalg/__init__.pyc' [imported]>

Doing another
>>> help("scipy.linalg")

one gets the expected help.

I'd guess that this somehow has to to with the lazy importer of scipy.
But maybe there is a workaround?

Many thanks in advance,


More information about the SciPy-user mailing list