Handle CSV

Read CSV from File

import csv

with open('file.csv') as csv_file:
    with csv.reader(csv_file) as csv_rows:
        for row in csv_rows:
            column1, column2, column3 = row

To read from string use io.StringIO to wrap the string.