好的,我正在使用诅咒编写python应用程序,并且我试图将我的文本集中在终端窗口中,您可以使用下面的文档获取x和y。curses.LINES and curses.COLS我猜他们把x和y作为整数返回。我就是这么做的
screen.addstr(curses.LINES, curses.COLS, 'Please en
我碰到了一个简单的蛇游戏代码,并想检查它是否可以工作。下面是我得到的错误: File "bgb.py", line 4, in <module>
import cursesFile "C:\Users\Michael\AppData\Local\Programs\Python\Python36\lib\curses\__init__.py", line 1