[Tutor] School Boy Error

David Rock david at graniteweb.com
Sun Apr 16 04:31:17 CEST 2006


* John CORRY <john.corry at ntlworld.com> [2006-04-15 23:48]:
> Thanks Brian for the help on the last one.  I couldn't see the wood for
> the trees.  I have a tougher one for you.
>  
> I am reading in a CSV file.  Each line represents a line that I want to
> upload into my database.  I am trying to upload the first line in the
> file to get myself started.  The code is below:-

You may want to check out the csv module to aid in any odd data input,
too.
http://docs.python.org/lib/module-csv.html

-- 
David Rock
david at graniteweb.com


More information about the Tutor mailing list