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