[SciPy-dev] Import strategy
Nils Wagner
nwagner at mecha.uni-stuttgart.de
Mon Jan 9 05:21:27 EST 2006
Nils Wagner wrote:
>Pearu Peterson wrote:
>
>>On Mon, 9 Jan 2006, Nils Wagner wrote:
>>
>>
>>
>>>Hi all,
>>>
>>>I am still confused by the new import method.
>>>Who can explain the difference between the "old" core/scipy and the
>>>latest numpy/scipy ?
>>>And where can I find some documentation wrt this topic ?
>>>
>>>
>>See scipy.pkgload.__doc__.
>>
>>
>>
>>>In the past I have simply used
>>>
>>>
>>>from scipy import *.
>>
>>>How should I modify my programs such that I can still use
>>>
>>>linalg.inv
>>>linalg.signm etc.
>>>
>>>
>>You still can use simple
>>
>> from scipy import *
>>
>>to get all symbols that scipy packages provide + numpy symbols. If not,
>>then it is a bug.
>>
>>
Am I missing something ?
Traceback (most recent call last):
File "import.py", line 5, in ?
a_logm = linalg.logm(a)
AttributeError: 'module' object has no attribute 'logm'
Nils
>>Pearu
>>
>>_______________________________________________
>>Scipy-dev mailing list
>>Scipy-dev at scipy.net
>>http://www.scipy.net/mailman/listinfo/scipy-dev
>>
>>
>And how can I suspend all the messages beginning with Overwriting ... ?
>
>Nils
>
>_______________________________________________
>Scipy-dev mailing list
>Scipy-dev at scipy.net
>http://www.scipy.net/mailman/listinfo/scipy-dev
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_import.py
Type: text/x-python
Size: 92 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20060109/55859070/attachment.py>
More information about the SciPy-Dev
mailing list