I have a CSV file with about 2000 records.
Each record has a string, and a category to it:
This is the firs
result = [] for line in text.splitlines(): result.append(tuple(line.split(",")))