I am using Python 3.7 and QGIS 3.4 to run a number of processes, and while I draft and debug my script I want to be able to occasionally stop, check if I want to continue, and then do so.
Usually, I would use input as so:
check = int(input("press 1 to continue")) if check == 1: print("continuing")
This results in:
RuntimeError: input(): lost sys.stdin
However, this isn't working in the python console in QGIS. It seems like this might be a known bug in QGIS, but any answers I've found are pretty old and haven't worked, or are geared towards people creating plugins and actual UI.
I'm not looking for anything fancy - like I said, just using this for rough scripting and debugging on my own end.