Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- username = input("Enter Username: ")
- password = input("Enter Password: ")
- with open('teacherbook_login.txt', 'w') as teacherbookfile:
- teacherbookfileWriter=csv.writer(teacherbookfile)
- teacherbooklist = teacherbookfileWriter.writero([username,password])
- for row in teacherbooklist:
- if username == teacherbooklist[1] and password == teacherbooklist[2]:
- print(row)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement