There is a lot of examples of reading csv data using python, like this one:
import csv with open(\'some.csv\', newline=\'\') as f: reader = csv.reader(f)
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.