摘要: python raise 去除trackback信息 使用情况:有时候我们使用subprocess来启动另外的python程序,raise的信息会在stderr中,但是traceback的内容是raise所在行,对debug没什么帮助 可以使用 raise SystemExit('your msg' 阅读全文
posted @ 2022-03-14 16:15 ibingshan 阅读(257) 评论(0) 推荐(0) 编辑