你如何在N秒后超时提示用户输入内容?
谷歌指向一个邮件线程(http://mail.python.org/pipermail/python-list/2006-January/533215.html),但它似乎不起作用。无论是
谷歌指向一个邮件线程(http://mail.python.org/pipermail/python-list/2006-January/533215.html),但它似乎不起作用。无论是
sys.input.readline
还是timer.sleep()
发生超时的语句,我总是得到:<type 'exceptions.TypeError'>: [raw_]input expected at most 1 arguments, got 2
某种情况下,异常未被捕获。