3 ms·
Can I recommend the wonderful `q`? https://pypi.python.org/pypi/q https://pypi.python.org/pypi/q "import q; q(var1, var2)" forces printing to $TMPDIR/q (usual
by scrollaway 11y ago
Can I recommend the wonderful `q`?
https://pypi.python.org/pypi/q https://pypi.python.org/pypi/q
"import q; q(var1, var2)" forces printing to $TMPDIR/q (usually /tmp/q) very detailed output of what you are tracing and what it is.
The @q decorator does somewhat the same as the "with trace" context manager.
- davidshepherd7 11y agoIt seems nice, but not quite as powerful. I like the way the tracing macro automatically prints every intermediate value, but q doesn't seem to do that.