在5.4节中,学习FileChooser,按照书上的代码,运行后出现以下错误:
TypeError: object.__init__() takes exactly one argument (the instance to initialize)
什么原因啊,phthon3.7中编译
可以运行资源包中提供的源码试试。如果也是一样的问题,您再继续提问。