[Tutor] CSV file processing...

Spencer Parker inthefridge at gmail.com
Mon Mar 24 17:01:47 CET 2008


I am pretty sure it is trying to tell me that the data I have is not
matching up with the columns I have in mysql.

The output I get from the print next is this:

['test.test.net', '15:33:59', 'x86_64', '8', '9', '1', '4', '0', '0', '0',
'0', '5', '4', '0.0', '12495360', '818688', '0', '36', 'core.none.com',
'0.', '0.', '', '', '', '']

I have 25 columns in my MySQL database and it appears to be grabbing 25
items.

On Mon, Mar 24, 2008 at 9:46 AM, Kent Johnson <kent37 at tds.net> wrote:

> Spencer Parker wrote:
> > Okay...that got me a different error:
>
> > _mysql_exceptions.OperationalError: (1136, "Column count doesn't match
> > value count at row 1")
>
> So, what do you think that error might be trying to tell you? What
> output do you get from the 'print next' statement?
>
> Kent
>
>


-- 
Spencer Parker
_______________________________________________________

"if you can't go to heaven, may you at least die in Ireland."

_______________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20080324/39f784d8/attachment.htm 


More information about the Tutor mailing list