Home
Sign Up
Sign In
V2EX
›
问与答
求助 Python 程序, debug 时候在某个地方 print 了下,找不到位置了
zooo
·
Nov 15, 2022
· 1934 views
This topic created in 1470 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
·
972 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 25ms ·
UTC 19:45
·
PVG 03:45
·
LAX 11:45
·
JFK 14:45
♥ Do have faith in what you're doing.
❯