Advertisement
Guest User

Untitled

a guest
Oct 18th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.27 KB | None | 0 0
  1.     while found == 0:
  2.         username = input("Please enter a username:  ")
  3.         with sqlite3.connect("Timetable.db") as db:
  4.             cursor = db.cursor()
  5.         findUser = ("SELECT * FROM students WHERE username = ?")
  6.         cursor.execute(findUser,[(username)])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement