sys.stdin in Wing IDE problem
Hi.Trying to test simple python-program using stdin object.
import sys
w = []
for s in sys.stdin:
w.append(s)
print(w)
To stop inputing I send EOF with right-button mouse click. But program terminates and nothing print out.This situation is in Wing IDE 101 under MacOS and Windows.
So, I can't run and test any program that uses stdin.
How can I solve this problem?
Thanx
Comments