def print_table(self, table):
    print(self.colnames[table])
    for row in self.c.execute(('SELECT * FROM %s' % scrub(table))):
        print(row)
def print_table(self, table):
    print(self.colnames[table])
    for row in self.c.execute(('SELECT * FROM %s' % scrub(table))):
        print(row)