On Tue, 04 Jan 2005 21:57:46 +0100, Marc 'BlackJack' Rintsch
<[EMAIL PROTECTED]> wrote:

>In <[EMAIL PROTECTED]>, Bulba! wrote:
>
>> I put those dictionaries into the list:
>> 
>>    oldl=[x for x in orig]  # where orig=csv.DictReader(ofile ...
>
>If you don't "do" anything with each `x` you can write this as:

>    oldl = list(orig)

Thanks!

I need to wrap my mind around Python more tightly. :-)



--
It's a man's life in a Python Programming Association.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to