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.

Kent

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to