I was wondering If anyone can help me changing INPUT with a txt file which has more lines, and load each line, instead only one from the INPUT.
I want to change x=input('Name:')
with opening a txt file and read each line at a time.
The code:
x=input('Name:')
r=requests.get('http://mywebsite.com/a?=*.{}'.format(x))