How do you make Python set an str from a file? For example, my file would contain these pieces of text:
username=Eugene
password=eugene
How do I get Python to return this?
>>> print(username)
Eugene
>>> print(password)
eugene
Any help is deeply appreciated. Thanks!