zestyping/q
View on GitHub ↗ ★ 1,302 Python
Quick and dirty debugging output for tired programmers. ⛺
7 mentions on Hacker News by 6 people: 2 stories, 5 comments · first 2013-07-12 · latest 2024-07-26
20082026
-
look at what q does: https://github.com/zestyping/q/blob/cbad74095e20017f33d3ab75...
comment by hprotagonist · 2024-07-26 · in Show HN: Wat – Deep inspection of Python objects -
For python: i specifically recommend https://github.com/zestyping/q a lot, which is like print debugging on steroids: All output goes to /tmp/q (or on Windows, to $HOME/tmp/q). You can watch the output with this shell command while your…
comment by hprotagonist · 2021-04-24 · in The unreasonable effectiveness of print debugging -
This is similar to an earlier package called "q"[0] [0] https://github.com/zestyping/q
comment by yuribro · 2021-03-30 · in Icecream: Never use print() to debug again in Python -
For an even easier-to-remember alternative, there’s q: https://github.com/zestyping/q All you need is `import q`. q works like a function (q(x)), like a variable (q|x and q/x, so you get different operator precedences) and like a decorator…
comment by nneonneo · 2021-03-30 · in Icecream: Never use print() to debug again in Python -
Another somewhat similar Python library, but logs to a /tmp file: https://github.com/zestyping/q
comment by auscompgeek · 2020-12-12 · in Implementing Rust's dbg! in Python