Guest User

Untitled

a guest
Mar 24th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. while True:
  2. username = input("Username")
  3. password = input("Password")
  4. with sqlite3.connect("Database.db") as db:
  5. cursor = db.cursor()
  6. find_user = ("SELECT * FROM user WHERE username = ? AND password = ?")
  7. cursor.execute(find_user,[(username),(password)])
  8. results = cursor.fetchall()
Add Comment
Please, Sign In to add comment