pwtools
Return the header of the table:
table (str, optional)
Examples
>>> db = SQLiteDB('test.db') >>> db.execute("create table foo (a text, b real)") >>> db.get_header('foo') [('a', 'text'), ('b', 'real')]