python debug小技巧学习笔记 1.@pysnooper.snoop() ```python import pysnooper @pysnooper.snoop() 加在函数前面,运行后可以看到输入输出变量,便于纠错。 2.@pysnooper.snoop()