Compare list entry from csv files

Anatoli Hristov tolidtm at gmail.com
Fri Nov 30 04:26:51 EST 2012


> Can you print ex_phone first. You are opening the files in text mode
> so I wonder if the line endings are causing you to read and extra
> "line" in between. Can you try reading the csv as "rb" instead of
> "rt"?

Yes I did this: use the global list PHONELIST and opening the CSV in
binary - it works now

Thanks

Anatoli



More information about the Python-list mailing list