Trivial ThoughtsThoughts and discussion on programming projects using the Python language.The Python CSV Module and Legacy Data- April 24, 2004 The Python CSV Module and Legacy Data When you work with csv files as much as I do, particularly with csv files created by legacy applications, you tend to run into the odd problems. Consider the following legacy csv data (a real example): "this is","an, example","10","of problem data",20 The reader of Python's csv module will turn this into a list like so: "this is", "an, example", "10", "of problem data",20 No problem so far. Now, let's use the csv writer to turn this same..http://radio.weblogs.com/0124960/2004/04/23.html#a23 |