摘要: 调试程序时,很多人喜欢直接用print来代替断点调试,而pysnooper模块比print更方便,以装饰器的形式存在 安装pysnooper模块 pip3 install pysnooper 具体使用 import pysnooper @pysnooper.snoop()def test(): a 阅读全文
posted @ 2020-06-01 11:05 巴黎爱工作 阅读(306) 评论(0) 推荐(0) 编辑