sonjaa wrote:

> Also, are there other python methods/extensions that can create
> multi-deminsional arrays?

if this example is typical for the code you're writing, you might as 
well use nested Python lists:

     def make_array(width, height, value):
         out = []
         for y in range(height):
             out.append([value] * width)
         return

     y = make_array(501, 501, 1)
     z = make_array(501, 501, 0)

     y[ee][ff] = 4

etc

</F>

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to