Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import sqlite3
- conn = sqlite3.connect ("tplong.db") # или ':memory:'чтобы сохранить в RAM
- cursor = conn.cursor()
- # Создание таблицы
- cursor.execute("CREATE TABLE albums(bidprice real, startrate real, applied real, stoploss real, strategy text, amount real, trailperc real, id integer )")
- cursor.execute("INSERT INTO albums VALUES(1, 0, 700, 0, 'Manager', 1,0,1)")
- conn.commit()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement