data = uuid.uuid4(), 'foo'
print('Input Data:', data)
c.execute('INSERT INTO test VALUES (?,?)', data)
c.execute('SELECT * FROM test')
print('Result Data:', c.fetchone())
Proper way to store GUID in sqlite