Hacker News new | past | comments | ask | show | jobs | submit login

Can I recommend the wonderful `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.




It 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.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: