When i try to get a line using linecache in python.
loginpass = raw_input("> ")
if loginpass == linecache.getline('Password.txt', 1):
The line that it gets always returns with an extra line. So if line one is
"Test"
It returns
"Test
"
It worked earlier in the code but anything after that it adds that line after it.