3 ms·
I use icecream: `ic(debug_expr)`. Not as concise, of course.
by Siira 5y ago
I use icecream: `ic(debug_expr)`. Not as concise, of course.
- jaytaylor 5y agoPlease read the comment below in the gentlest, friendliest tone possible, because my goal is to considerately inform and persuade you, dear writer :) HTML links make it 10-100x more likely other readers will learn about the thing being mentioned (and thus help increase awareness and adoption of good tools and resources). https://github.com/gruns/icecream https://github.com/gruns/icecream Example: from icecream import ic def foo(i): return i + 333 ic(foo(123)) Prints ic| foo(123): 456
- jounker 5y agoThank you! I’ve been trying to remember this package’s name.