mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-17 08:34:19 +01:00
bindings/python: Add Python example
This commit is contained in:
6
bindings/python/example.py
Normal file
6
bindings/python/example.py
Normal file
@@ -0,0 +1,6 @@
|
||||
import limbo
|
||||
|
||||
con = limbo.connect("sqlite.db")
|
||||
cur = con.cursor()
|
||||
res = cur.execute("SELECT * FROM users")
|
||||
print(res.fetchone())
|
||||
Reference in New Issue
Block a user