Menu

#Dictwriter

1 post

Feed
1 of 1 post
0Read More

Writing to a CSV file - fields in wrong order - help me understand why

I developed a process that writes data to a CSV file using csv.DictWriter. The consumer of this file requires that the fields are in a specific order. However, the fields were coming out in the wrong order (different than the order in the dictionary).…

15s