Writing list of dictionaries to CSV

Chris Angelico rosuav at gmail.com
Wed May 6 02:34:33 EDT 2015


On Wed, May 6, 2015 at 3:32 PM, Kashif Rana <kashifrana84 at gmail.com> wrote:
> thanks for the feedback. I think its problem with excel itself, showing wrong value. Because when I opened the csv file in text editor, I can see correct value but opening in excel showing wrong value. What I can do to see correct in excel as well.
>

Simple fix: Ditch Excel.

Slightly more complicated fix: Open the file, then select everything,
and tell Excel that it's plain text. You can't say that in the CSV
file.

ChrisA



More information about the Python-list mailing list