问题描述
我在 Fedora PC(redhat linux)上运行 Python,并通过 python3 -m idlelib.idle 从终端运行 IDLE。但是,尝试运行 curses.resizeterm(40,40)
会导致错误
File "/home/quowlord/Documents/ASCIIengineALPHA_1.py",line 75,in <module>
curses.resize_term(40,40)
AttributeError: module 'curses' has no attribute 'resize_term'
(其他 curses 调用有效,包括影响终端的调用,例如 curses.start_color()
和 curses.initscr()
。)
我不知道接下来该尝试什么,因为我已经尝试重新安装 python。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)