csv blank fields

Mag Gam magawake at gmail.com
Sat Jun 27 14:44:12 CEST 2009


I am using the csv package to parse a compressed .csv.gz file. So far
its working perfectly fine but it fails when I have a missing value in
on of the fields.

For example, I have this

Abc,def,,jkl

Is it possible to fill the missing column with a null?

I want,
Abc,def,NULL,jkl

TIA



More information about the Python-list mailing list