I am on Python 3.5 inside Spyder 3.1.3. When I enter the following code, x has an empty string. I am not asked for any user input. Cursor directly goes to the next line
import sys
x = sys.stdin.read()
print(x)
So after executing this code, x = '' So what is happening here ?