def read_from_db():
cur.execute("select * from people where username=:useru1 and password=:userp1", {"useru1": useru1, "userp1": userp1})
for row in cur.fetchall():
print(row[0])
print(row[1])
con.commit()
def read_from_db():
cur.execute("select * from people where username=:useru1 and password=:userp1", {"useru1": useru1, "userp1": userp1})
for row in cur.fetchall():
print(row[0])
请试试这个
相关问题 更多 >
编程相关推荐