SyntaxFix
Write A Post
Hire A Developer
Questions
From the Python documentation:
And while the module doesn’t directly support parsing strings, it can easily be done:
import csv for row in csv.reader(['one,two,three']): print row
Just drop your string data into a singleton list.