cur.execute('select timecol from test where timecol < ?', [DT.time(4, 5, 6)])
print(cur.fetchall())
cur.execute('select timecol from test where timecol < ?', [DT.time(8, 0, 0)])
print(cur.fetchall())
con.commit()
cur.close()
con.close()
Лучший способ сохранить python datetime.time в столбце sqlite3?