Showing posts with label clear. Show all posts
Showing posts with label clear. Show all posts

4/16/2021

jupyter print clear

 

Use Ipython.disply to make printed thing clear.

from IPython.display import clear_output

for i in range(10):
clear_output(wait=True)
print("Hello World!")


Thank you.

πŸ™‡πŸ»‍♂️

12/21/2020

python notebook clear output

 

from IPython.display import clear_output

for i in range(10):
    clear_output(wait=True)
    print("Hello World!")