I have some code where I'm trying to get the user input of 4 things. I've never encountered this error before and can't figure out what's wrong. Code:
HOST = input("FTP Host: ")
USER = input("Username: ")
PASS = getpass("Password: ")
tkinter.Tk().withdraw()
file = tkinter.filedialog.askopenfilename()
Output:
Traceback (most recent call last):
File "/storage/emulated/0/Download/test.py", line 1, in <module>
HOST = input("FTP Host: ")
EOFError: EOF when reading a line
I've already looked this error up and nothing has helped. I've tried commenting things out and that dossnt do anything. Can someone tell me what I'm doing wrong and how to fix it.