CoCalc Public Filestmp / Untitled2.ipynbOpen with one click!
Authors: Gihan Marasingha, Harald Schilly, ℏal Snyder, William A. Stein
In [3]:
from ipywidgets import * out = Output() display(out) with out: print('foo')
In [4]:
out.clear_output(True)
In [7]:
from IPython.display import clear_output with out: clear_output() with out: print("bar")
In [ ]: