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.

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

Reply via email to