Advertisement
Guest User

Untitled

a guest
Jul 26th, 2016
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. username = input("Enter Username: ")
  2. password = input("Enter Password: ")
  3.  
  4. with open('teacherbook_login.txt', 'w') as teacherbookfile:
  5. teacherbookfileWriter=csv.writer(teacherbookfile)
  6. teacherbooklist = teacherbookfileWriter.writero([username,password])
  7. for row in teacherbooklist:
  8. if username == teacherbooklist[1] and password == teacherbooklist[2]:
  9. print(row)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement