I have an iMac running High Sierra. I've been learning python and I use Atom or VScode.
One problem I've experienced in both of these is that if I run a python script with an input statement like:
num = int(input("Enter a number: ")) it doesn't work.
It works fine running from a terminal, but not if I'm using Atom or VScode. There seems to be no way to input data into a python script while it is running unless you code it in.
Can anyone tell me how to interactively input data into my python script while it is running?