Why is my text file resetting?
annah2 (0)

Every time that I run my program and go through it the password in the OldPasswords text file is deleted and replaced I would like it to just add the new password in the same line of the text file

You are viewing a single comment. View All
leon332157 (218)

U have to change the mode for open function to 'a', which is append.