[Numpy-discussion] simple Numarray question

Jon Saenz jsaenz at wm.lc.ehu.es
Mon Jan 26 08:47:09 EST 2004


Read point 6 of the Python Tutorial.

Read chapter 2 (Installing NumPy) of Numeric Python manual.

Hope this helps.


Jon Saenz.				| Tfno: +34 946012445
Depto. Fisica Aplicada II               | Fax:  +34 944648500
Facultad de Ciencias.   \\ Universidad del Pais Vasco \\
Apdo. 644   \\ 48080 - Bilbao  \\ SPAIN

On Mon, 26 Jan 2004, Nancy Keuss wrote:

> Hi,
>
> What do I have to include in my Python file for Python to recognize Numarray
> functions? For instance, in a file called hello.py I try:
>
> a = arange(10)
> print a[1:5]
>
> and I get the error:
>
> Traceback (most recent call last):
>   File "C:\Python23\hello.py", line 3, in ?
>     a = arange(10)
> NameError: name 'arange' is not defined
>
> Thank you,
> Nancy
>
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/numpy-discussion
>





More information about the NumPy-Discussion mailing list