[SciPy-user] stats module accessibility
Thu Sep 27 11:44:17 CDT 2007
Alan G Isaac wrote:
> On Thu, 27 Sep 2007, Anne Archibald apparently wrote:
>> You can't just do "import scipy" and access the subpackages, because
>> that would mean that a bare "import scipy" had to recursively load all
>> subpackages, which can be expensive many shared libraries
>> to load, for example.
> OK. I guessed that would be the answer.
>> This is standard behaviour for python packages.
> As I warned, it was a naive question.
> As a user, what I notice of course is that some
> subpackages are immediately available (e.g.,
> random and fft) and that others are not.
That's numpy, not scipy. numpy is just small enough for that to be feasible.
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the SciPy-user