永远不要再使用print进行调试-Python开发

时间:2021-05-24 17:38:21
【文件属性】:
文件名称:永远不要再使用print进行调试-Python开发
文件大小:56KB
文件格式:ZIP
更新时间:2021-05-24 17:38:21
Python Debugging Tools PySnooper-永远不要使用打印进行调试PySnooper是一个穷人的调试器。 您试图弄清楚为什么您的Python代码没有按照您认为的那样做。 您可能希望将成熟的调试器与PySnooper一起使用-切勿再次使用print进行调试PySnooper是一个穷人的调试器。 您试图弄清楚为什么您的Python代码没有按照您认为的那样做。 您可能希望使用具有断点和监视功能的成熟调试器,但现在不必为设置一个调试器而烦恼。 您想知道哪些行正在运行,哪些不在,以及局部变量的值是什么。 大多数人会在战略性位置使用打印线,其中一些显示出价值
【文件预览】:
PySnooper-master
----setup.py(2KB)
----.gitignore(116B)
----requirements.txt(132B)
----.travis.yml(817B)
----MANIFEST.in(144B)
----LICENSE(1KB)
----README.md(5KB)
----tests()
--------test_pysnooper.py(55KB)
--------test_utils()
--------__init__.py(61B)
--------samples()
--------test_mini_toolbox.py(304B)
--------mini_toolbox()
--------test_multiple_files()
--------utils.py(14KB)
--------test_not_implemented.py(2KB)
--------test_chinese.py(1KB)
----pysnooper()
--------tracer.py(19KB)
--------__init__.py(812B)
--------utils.py(2KB)
--------variables.py(4KB)
--------pycompat.py(3KB)
----make_release.sh(113B)
----requirements.in(37B)
----misc()
--------generate_authors.py(1KB)
--------IDE files()
----AUTHORS(356B)
----tox.ini(1KB)
----ADVANCED_USAGE.md(3KB)

网友评论