[Numpy-discussion] Numpy question

Talla jtalla at gmail.com
Thu May 26 05:17:46 EDT 2011


Hello
Below is the output of the coammands you mentioned.

C:\>python
Python 2.6.2 (r262:71600, Jul  7 2009, 20:21:09) [MSC v.1500 32 bit (Intel)]
on win3
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> print(numpy.arange(3))
[0 1 2]
>>>

Which looks to me it is working just fine.

so what is the problem though?


On Thu, May 26, 2011 at 11:50 AM, Scott Sinclair <scott.sinclair.za@
gmail.com> wrote:

> On 26 May 2011 10:37, Talla <jtalla at gmail.com> wrote:
> > C:\Python27>
> > In addition when I run import command I got ('import' is not recognized
> as
> > an internal or external command, operable program or batch file.)
>
> import is not a command you can run at your command line, it's part of
> Python. Do something like this instead:
>
> C:\Python27> cd C:\
> C:\>python
> # Should start the Python interpreter, print python version etc.
> >>> import numpy
> >>> print(numpy.arange(3))
>
> It will be worth taking some time to read a basic Python tutorial.
>
> Cheers,
> Scott
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20110526/82c7bdf6/attachment.html>


More information about the NumPy-Discussion mailing list