Perfect.  Thanks much!

-kurt

> <python>
> from pysqlite2 import dbapi2 as sqlite
>
> db = sqlite.connect (":memory:")
> db.row_factory = sqlite.Row
>
> db.execute ("CREATE TABLE x (i INTEGER, code VARCHAR (10), name VARCHAR
> (60))")
>
> for row in db.execute ("PRAGMA TABLE_INFO ('x')"):
>   print row['name'], row['type']
> 
> </python>

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to