Re: Pythonic way to condese my array

2006-09-20 Thread Wildemar Wildenburger
Robert Kern wrote: > Of course, code that I wouldn't get fired for would have a slightly greater > line > count and fewer one-letter variable names. Great :D! That one made me laugh! wildemar -- http://mail.python.org/mailman/listinfo/python-list

Re: Pythonic way to condese my array

2006-09-19 Thread James Stroud
Dean Card wrote: > I have a list of dictionaries where each dictionary defines, among other > things, a row and column number. So, my list might look like this: > [{'row':1, 'column':1, otherdata}, {'row':1, 'column':2, 'otherdata}...] > > This data is passed to flash and used there to create a

Re: Pythonic way to condese my array

2006-09-19 Thread Robert Kern
Dean Card wrote: > I have a list of dictionaries where each dictionary defines, among other > things, a row and column number. So, my list might look like this: > [{'row':1, 'column':1, otherdata}, {'row':1, 'column':2, 'otherdata}...] > > This data is passed to flash and used there to create a

Pythonic way to condese my array

2006-09-19 Thread Dean Card
I have a list of dictionaries where each dictionary defines, among other things, a row and column number. So, my list might look like this: [{'row':1, 'column':1, otherdata}, {'row':1, 'column':2, 'otherdata}...] This data is passed to flash and used there to create a grid of objects that are p