[英]How to Debug Python built-in module efficiently?
recently I'm learning Python standard library and reading the source code最近我在学习 Python 标准库并阅读源代码
help for understanding I copy code segment and paste to python interpreter帮助理解我复制代码段并粘贴到python解释器
but I feel it's inefficient and unwise ('cause import module won't got the _
)但我觉得它效率低下且不明智(因为导入模块不会得到
_
)
I wanna to find a efficient way to test a module, include the _var and _func()我想找到一种有效的方法来测试模块,包括 _var 和 _func()
thanks for any good idea -- a green man谢谢你的好主意——一个绿色的人
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.