numarray

Ben Champion ben.champion at gmail.com
Thu Nov 18 10:21:10 EST 2004


I have installed python 2.3.3 on my windows machine have have ran
several programs succesfully. I have also installed numarray 1.1 for
my version of python and am now trying to create arrays using the
array command, eg

>>>Import Numeric
>>> a = array([1, 2, 3])

Traceback (most recent call last):
  File "<pyshell#1>", line 1, in -toplevel-
    a = array([1, 2, 3])
NameError: name 'array' is not defined

if I just enter 

>>>Import Numeric

I get 

>>> 

indicating that numarray is installed correctly.

What am I doing wrong?

Thanks in advance

Ben



More information about the Python-list mailing list