On Sun, Oct 24, 2010 at 14:48, Steven D'Aprano <st...@pearwood.info> wrote:
> Richard D. Moores wrote:
>>
>> NameError: name 'np' is not defined
>
> [...]
>>
>> but where do I get np?
>
>
> I believe that it is common in the scientific python world to do this:
>
> import numpy as np
>
> and then use np.FUNCTION instead of numpy.FUNCTION.

Yup. That was it. <http://www.rcblue.com/Misc/plt.jpg> Beautiful!

Dick
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to