Auth system - using file.txt
This is a Auth system that allows the user to login using data stored in a file.txt and it also allows the user to register
i need help, something is not working.
You can not get something almost like it was a dictionary from a string.
PW is a string, as indicated from the input right above it (line 22/23
). You have a couple other errors with types, like turning the username to a integer when the user is registering.
Secondly, what I believe pickle
does is it just adds the representation of what you are storing in bytes. The characters you mentioned are most likely the binary representation of what tells the program that the variable is an array.
i have done something wrong but i cant seem to figure out what i have done wrong.
Hope someone can help me. (Thanks in Advance)
If I was you instead of storing it in a text file store I would store it using the pickle module