How would I loop through a text file and store a value. If I take a line from a text file, [email protected]:Password1, How would I store email as [email protected] , and password as Password1 ?
file = open("TEST.txt", "r")
for line in file:
print(line)