Read from stdin with monkeyrunner
问题 How do I read from stdin with monkeyrunner? I tried the following code. import sys print("type something") something = sys.stdin.readline() print(something) I also tried the following: print("type something") something = raw_input() print(something) In both cases the program prints "type something" but it does not respond after I type something. It seems i am making some silly mistake? 回答1: This seems to be a bug with Jython 2.5.3, the version that is included with MonkeyRunner. The issue