1
tigetstr后我升级Ubuntu的我的Python改为2.6.6和打电话时我app.py不辍 误差与诅咒在Python 2.6.6
sys.stdout.write(curses.tigetstr('civis'))
它写道:
Traceback (most recent call last):
File "app.py", line 60, in <module>
sys.stdout.write(curses.tigetstr('civis'))
TypeError: argument 1 must be string or read-only character buffer, not None
我应该改变我的代码更新版本的Python吗?
这对我不起作用,但我正在做另一次Ubuntu升级。 – xralf
Python'2.7.2'确定。 – xralf