I have been trying to find an answer to this question for a long time now, I want to make a program, where a user can input their username and password (which has already been set), and then have a function that will check what the user inputted to what is in a .csv file. The '?' is what the user has to input at the moment to log in.
def login(): ltext1 = lment1.get() ltext2 = lment2.get() if ltext1 == '?' and ltext2 == '?': nothing() else: something()
what would I need to do to compare what the user inputted to what is in the .csv file?