[Tutor] question about comma delineated text

Kent Johnson kent37 at tds.net
Mon Jun 20 03:51:35 CEST 2005

nephish wrote:
> Hey there,
> i have some log files that i want to be able to work with.
> the lines of the log files are comma - delineated.
> i want to put those into a database where each piece of info (comma 
> delineated)
> would be the fields of the database.
> ok, so the first obstacle is learning how to make a list or dictionary 
> (prefer dictionary) out of
> each line of the log.
> any suggestions of where to start?

See the DictReader class in the csv library module.


More information about the Tutor mailing list