Method summary
- __call__(self, packages, options)
- __init__(self, verbose = False)
- error(self, mess)
- get_pkgdocs(self)
- log(self, mess)
- warn(self, mess)
Methods
- __call__(self, packages, options)
Load one or more packages into parent package top-level namespace. Usage: This function is intended to shorten the need to import many of subpackages, say of scipy, constantly with statements such as import scipy.linalg, scipy.fftpack, scipy.etc... Instead, you can say: import scipy scipy.pkgload('linalg','fftpack',...) or scipy.pkgload() to load all of them in one call. If a name which doesn't exist in scipy's namespace is given, a warning is shown. Inputs: - the names (one or more strings) of all the numpy modules one wishes to load into the top-level namespace. Optional keyword inputs: - verbose - integer specifying verbosity level [default: 0]. verbose=-1 will suspend also warnings. - force - when True, force reloading loaded packages [default: False]. - postpone - when True, don't load packages [default: False] If no input arguments are given, then all of scipy's subpackages are imported. - __init__(self, verbose = False)
Manages loading packages.
- error(self, mess)
- get_pkgdocs(self)
Return documentation summary of subpackages.
- log(self, mess)
- warn(self, mess)
