每次我在PyChamr中运行一个脚本并且它有一个错误时,Pycharm只会在控制台中为我打印错误的文本。如何使PyCharm同时打印抛出错误的行的编号?下面是我在控制台中看到的示例:
C:\Python27\python.exe C:/Users/svc_qa_auto_user/PycharmProjects/MQA_zip/m031918.py
'int' object has no attribute 'replace'
Process finished with exit code 1
Tags:
目前没有回答
相关问题 更多 >
编程相关推荐