On Mon, 2008-03-17 at 23:32 -0700, Michel Lespinasse wrote:
> Not a big deal, but it did trip me up the first time (and, I still don't know
> of a good way to create the two-dimensional array with actual separate
> copies for each row)

A bit kludgy, but you could use a list comprehension:

   [ [0]*4 for i in range(4) ]

The cleanest way is probably to use numeric python's array.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to