Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while found == 0:
- username = input("Please enter a username: ")
- with sqlite3.connect("Timetable.db") as db:
- cursor = db.cursor()
- findUser = ("SELECT * FROM students WHERE username = ?")
- cursor.execute(findUser,[(username)])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement