python try...except中如何输入e的行号?

try: print(aaa) excep<爱尬聊_百科全书>t Exception as e: print(e)


V1369 21小时前

建议研究一下traceback模块


编辑 举报 2023-02-10 13:13

0个评论

暂无评论...
验证码 换一张
相关内容