I am reading Automate the boring stuff with python and when I am running the program in the terminal it is not prompting for a input. I want to give many lines as input. How can I do this?
The the example in the book expects you to give your input when you are running program like,
python foo.py username password
If you want to be prompted while running use something like below in your script,
username = input("enter your username")
password = input("enter your password")
and then copy using pyperclip
pyperclip.copy(username)