numarray

Diez B. Roggisch deetsNOSPAM at web.de
Thu Nov 18 16:41:01 CET 2004


> if I just enter
> 
>>>>Import Numeric
> 
> I get
> 
>>>> 
> 
> indicating that numarray is installed correctly.
> 
> What am I doing wrong?

I doubt that that works. "Import" won't do it - it yields a syntax error.

What you meant is 

import Numarray

But you have to keep in mind that importing a module that way will not put
it in the global namespace. So you have to qualify function names:

Numarray.array

Or you import them using the "from" syntax, which will bind the Numarray
names in the global namespace:

from Numarray import *


-- 
Regards,

Diez B. Roggisch



More information about the Python-list mailing list