[DB-SIG] inserting or importing csv file to a sqlite3 connected table

D'Arcy J.M. Cain darcy at druid.net
Wed Sep 12 19:31:40 CEST 2007

On Wed, 12 Sep 2007 17:04:49 +0000
ca17005 at bellsouth.net wrote:
> Very new at this.  If I can get sample code for converting a csv file to one that will accept SQL commands then I have gotten over a big hump.  Any sample Code known that might work?  I have attached a copy of the typical file I will be working with.

Just use the CSV module.  See
http://docs.python.org/lib/module-csv.html for description and samples.

D'Arcy J.M. Cain <darcy at druid.net>         |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.

More information about the DB-SIG mailing list