Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import sqlite3
- conn = sqlite3.connect('example.db')
- c = conn.cursor()
- t = (USDT_BTC,)
- # s = str(t)
- # print(t)
- c.execute('SELECT * FROM stocks WHERE data001=?', t)
- print(c.fetchone())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement