file.csv contains strings e.g : \'x\',\'y\',\'z\'
with open(\'file.csv\', newline=\'\') as f: reader = csv.reader(f) x = list(reader)