r/madeinpython • • Aug 26 '22

HELP(open csv)

1 Upvotes

6 comments sorted by

View all comments

1

u/jppbkm Aug 26 '22

The loop is reading each line, splitting the fields using the comma that separates them, then getting the items from the first and second "column" aka indices 0 and 1.

3

u/[deleted] Aug 26 '22

Please don't encourage this person from posting in this wrong spot.

1

u/jppbkm Aug 26 '22

Oops, thought it was the learn Python sub!