python跟踪脚本运行过程(类似bash shell -x) #详细追踪 python -m trace --trace pyscript.py #显示调用了哪些函数 python -m trace --trackcalls pyscript.py