Home
Sign Up
Sign In
V2EX
›
问与答
求助 Python 程序, debug 时候在某个地方 print 了下,找不到位置了
zooo
·
Nov 15, 2022
· 1938 views
This topic created in 1472 days ago, the information mentioned may be changed or developed.
现状:
已经修复好了,不用在 print 了
需要找到写 print 某个变量的地方
可能在源码里,也可能在某个依赖的包里。
现在跑起来不断的 print ,很烦
求救
已经试过 grep -Ri "print" . 太多找不到
已经解决,通过上面的命令,猜测到具体的源码目录进行搜索。
print
Python
grep
debug
1 replies
•
2022-11-15 17:24:43 +08:00
CodeDrift
Nov 15, 2022
1
1
用 git 看 diff
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
2690 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 42ms ·
UTC 10:29
·
PVG 18:29
·
LAX 02:29
·
JFK 05:29
♥ Do have faith in what you're doing.
❯