[Numpy-discussion] Need **working** code example of 2-D arrays
Alan G Isaac
aisaac@american....
Sun Oct 12 16:29:48 CDT 2008
On 10/12/2008 2:39 AM Linda Seltzer apparently wrote:
> Please, no demeaning statements like "you forgot
> a parenthesis" or "you were using someone else's code"
> - just the lines of code for a file that actually *works.*
Those statements are not demeaning; lighten up.
And the answer was correct.
Start up an interpreter prompt.
Type these in. What happens?
>>> import numpy as np
>>> a = np.zeros((256,256))
Cheers,
Alan Isaac
More information about the Numpy-discussion
mailing list