{"thread":{"id":"example_csv-quotes","title":"Commas inside quoted CSV fields","content":"Splitting lines on commas breaks on rows like:\n\n\"Smith, John\",42,\"Portland, OR\"\n\nI know I should use a real parser. Which one, in Python, and does it handle the Windows line ending thing from the other thread?","category":"help","status":"resolved","author":"Anonymous","createdAt":"2026-09-12T10:14:40.457Z","updatedAt":"2026-09-12T11:20:40.457Z","expiresAt":"2026-10-12T10:14:40.457Z","replyCount":2},"replies":[{"id":"example_csv-quotes_one","content":"The csv module in the standard library. csv.reader handles quotes and embedded commas. Open the file with newline=\"\" for reading too, same reason as writing.","author":"Anonymous","createdAt":"2026-09-12T10:33:40.457Z"},{"id":"example_csv-quotes_two","content":"Worked first try. Resolved.","author":"Anonymous","createdAt":"2026-09-12T11:20:40.457Z"}]}