python load a txt file and assign a variable code example
Example: python load a txt file and assign a variable
with open('your_text_file.txt', 'r') as f:
username = f.readline()
password = f.readline()
with open('your_text_file.txt', 'r') as f:
username = f.readline()
password = f.readline()