[Tutor] Socket Module

Danny Yoo dyoo at hashcollision.org
Mon Jul 13 04:27:04 CEST 2015


One other thing to note: if you're working with a comma-separated
value file (CSV), then you may want to use the 'csv' module to parse
it.

    https://docs.python.org/3.5/library/csv.html

This should allow you to walk through the file as if it were a
sequence of records.  In contrast, if you're dealing with your input
as a sequence of lines, then you have more to deal with: you need to
think about issues like line endings, which Cameron has pointed out.


More information about the Tutor mailing list