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

Arnd Baecker arnd.baecker at web.de
Fri Feb 27 05:12:09 EST 2004


Hi,

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,

Arnd



More information about the SciPy-User mailing list