Re: csv and iterator protocol

2005-06-05 Thread Philippe C. Martin
Thanks Kent, I had a bug in my test program: it works fine with strings Philippe Kent Johnson wrote: > Philippe C. Martin wrote: >> Can I initialize csv with input data stored in RAM (ex: a string) ? - so >> far I cannot get that to work. Or to rephrase the question, what Python >> "RAM" stru

Re: csv and iterator protocol

2005-06-04 Thread Kent Johnson
Philippe C. Martin wrote: > Can I initialize csv with input data stored in RAM (ex: a string) ? - so far > I cannot get that to work. Or to rephrase the question, what Python "RAM" > structure supports the "iterator protocol" ? Many, including strings, lists and dicts. For your needs, a list of st