pwtools.sql.SQLiteDB.create_table

SQLiteDB.create_table(header, table=None)[source]

Create a table from header. header is in the same format which get_header() returns.

Parameters:
  • header (list of lists/tuples) – [(colname1, sqltype1), (colname2, sqltype2), …]

  • table (str, optional)