csv blank fields

Peter Otten __peter__ at web.de
Sat Jun 27 10:03:33 EDT 2009

Mag Gam wrote:

> well, I am actually loading the row into a fixed width array
> reader=csv.reader(fs)
> for s,row in enumerate(reader):
>   d[s]=t
> If there is a missing field, I get a problem in one of my rows

Please be specific. Describe what you want and what you get. 

If you give code make it self-contained so that others can run it without 
having to guess the values of the variables you introduce.

If an exception occurs cut and paste the traceback into your post, too.


More information about the Python-list mailing list