'AttributeError' while trying to create a console screen using urwid

别等时光非礼了梦想. 提交于 2019-11-29 17:29:47
tauseef_CuriousGuy

The Attribute Error was removed by adding following lines in the code as shown at this question.

line 1 : self.loop.widget = self.view in main of class FormDisplay

line 2 : doing a return Frame instead of return in the function formLayout()

line 3 : added lines to handle key presses in unhandled_input function

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!