Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
csv Dictwriter problems
#2
can you show how you get your data? Your code should work just fine with list of dicts as your sample data. It looks like your data is not what you think - i.e. obviously you scrape them from a website and did not parse correctly. At least not when you try to write them to a file.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
csv Dictwriter problems - by fsuedr2022 - Oct-28-2020, 02:15 PM
RE: csv Dictwriter problems - by buran - Oct-28-2020, 02:20 PM
RE: csv Dictwriter problems - by fsuedr2022 - Oct-28-2020, 02:24 PM
RE: csv Dictwriter problems - by buran - Oct-28-2020, 02:45 PM
RE: csv Dictwriter problems - by buran - Oct-28-2020, 02:47 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Iterating a dictwriter pstarrett 0 3,068 Feb-19-2018, 01:44 AM
Last Post: pstarrett

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020