Skip to content

icecream ​

Tired of print to debug? The icecream module is available in Basthon's Python kernel: ic(expression) shows both the expression and its value.

For it to work, Basthon now keeps the source code of the cells run: inspect.getsource also works on the functions defined in the notebook or the console.

Play with it!

icecream