Ledger Nano X - The secure hardware wallet
SHARE
TWEET

Untitled

a guest Apr 3rd, 2020 160 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def validateLogin():
  2.     global username
  3.     global password
  4.     username_text = username.get()
  5.     password_text = password.get()
  6.    
  7.     with sqlite3.connect("Timetable.db") as db:
  8.         cursor = db.cursor()
  9.     find_user = ("SELECT * FROM StudentInformation WHERE username = ? AND password = ?")
  10.     cursor.execute(find_user,[(username_text),(password_text)])
  11.     results = cursor.fetchall()
  12.     if results:
  13.         success()
  14.     else:
  15.         notFound()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top