Files
baiyue-logistics-chat/fix_user.py
T

7 lines
200 B
Python
Raw Normal View History

import sqlite3
c = sqlite3.connect('history.db')
for u in ['123','456','789']:
c.execute("INSERT OR REPLACE INTO agents(username,password,name) VALUES(?,?,?)", (u,'123',u))
c.commit()
print("ok")