Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Download Python.

import csv

?



Download python.

Data = open(“file.csv”, “r”)

For line in data.readlines(): Print(line.split”,”)


Well...

Blah1, blah2, "blah3, blah4", blah5

Maybe using a library is a better route.


Okay sure, but I have processed millions of lines of csv data using readlines and split.

Eventually yeah you’re going to run into something with characters you don’t like, but that’s just a teaching/learning moment!




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: