3 ms·
import csv file = csv.reader(open('config.csv'), delimiter='\t') for row in file: for cell in row: # do something with the cell
by RyanMcGreal 17y ago
import csv
file = csv.reader(open('config.csv'), delimiter='\t')
for row in file:
for cell in row:
# do something with the cell
- fungi 17y agoim more of a csv.DictReader(open('config.csv'), delimiter=",") guy myself, but thx anyway :)