Skip to content

clear_output ​

The clear_output function of the IPython.display module works in Basthon: it clears the output of the current cell. With wait=True, the clearing only happens at the next display, which avoids flickering. Perfect for a progress bar, a countdown or a little text animation!

Play with it!

clear_output