在PyCharm中打开Run菜单,找到Edit Configurations进入,勾选Emulate terminal in output console即可。 然后再运行一下程序,就可以看到控制台提示代码出错的地方了
设置UTF-8编码格式
京公网安备 11010502049817号