<?xml version="1.0"?>
<paste-with-annotations>
  <paste>
    <number>
      <integer>60611</integer>
    </number>
    <user>
      <string>tachim</string>
    </user>
    <title>
      <string>arrays</string>
    </title>
    <contents>
      <string>import scipy, numpy

def build_cool_grid(x,y,z=0):
    if z = 0:
        arr = numpy.empty((x,y))
    else:
        arr = numpy.empty((x,y,z))

    print 'still going'

    if z &gt; 0:
        for i in range(0,(x-1)/3):
            for j in range(0,(y-1)/3):
                for k in range(0,(z-1)/3):
                    arr[i,j,k] = (5.0,1.0,1.0)
    else:
        for i in range(0,(x-1)/3):
            for j in range(0,(y-1)/3):
                print i,j
                arr[i,j] = (5.0,1.0)

    return arr</string>
    </contents>
    <universal-time>
      <integer>3419541202</integer>
    </universal-time>
    <channel>
      <string>None</string>
    </channel>
    <colorization-mode>
      <string>Python</string>
    </colorization-mode>
    <maybe-spam>
      <null/>
    </maybe-spam>
    <is-unicode>
      <keyword>TRUE</keyword>
    </is-unicode>
  </paste>
</paste-with-annotations>