Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while True:
- username = input("Username")
- password = input("Password")
- with sqlite3.connect("Database.db") as db:
- cursor = db.cursor()
- find_user = ("SELECT * FROM user WHERE username = ? AND password = ?")
- cursor.execute(find_user,[(username),(password)])
- results = cursor.fetchall()
Add Comment
Please, Sign In to add comment