pyqt5读取本地文件时报错Process finished with exit code -1073740791 (0xC0000409)

在做毕业设计时,在读入本地文件时点击按钮程序自动退出,并报错Process finished with exit code -1073740791 (0xC0000409)

pyqt5读取本地文件时报错Process finished with exit code -1073740791 (0xC0000409)
作为小白一枚,首先百度走起,
pyqt5读取本地文件时报错Process finished with exit code -1073740791 (0xC0000409)哇,这么多搜索结果。点进去一看,全是深度学习的问题,似乎,解决问题的办法很遥远。。。。。

1.想了想为啥只报错不提示错在哪?
继续百度走起…
解决办法如下:
1.选择run/Debug Configurations
pyqt5读取本地文件时报错Process finished with exit code -1073740791 (0xC0000409)
把红线圈起来的Emulate terminal in output console选中即可显示错误信息。
结果就变成了这样:
pyqt5读取本地文件时报错Process finished with exit code -1073740791 (0xC0000409)
哈哈哈哈哈,终于报错了。
pyqt5读取本地文件时报错Process finished with exit code -1073740791 (0xC0000409)
2.继续百度一下…
解决办法如下:
https://www.sogou.com/link?url=DSOYnZeCC_rPp7ZTWtK-h4YqKfTC_rzgY_zNPOvEN8q9BGxFqaE7VF4urzFXi4awreaVHN88tHY.
解决办法实测有效
pyqt5读取本地文件时报错Process finished with exit code -1073740791 (0xC0000409)
将程序中的self换成None就好了。
pyqt5读取本地文件时报错Process finished with exit code -1073740791 (0xC0000409)
终于成功了。内心有点小激动。