On Sat, Oct 11, 2008 at 00:38, Linda Seltzer <[EMAIL PROTECTED]> wrote: > Thank you. It produced this error message: > NameError: global name 'npy' is not defined
Note the line: import numpy as npy >> In numpy it's >> import numpy as npy >> a = npy.zeros((256,256)) >> >> a[0,0] = 1.0 >> a[200,123] = -42.0 >> # etc... >> >> I think you were just missing the extra parentheses in the numpy >> version of "zeros" >> >> --bb -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion