Clear screen with Python

Felipe LealFelipe Leal
1 min read

This is a very useful and simple approach on a clear screen using python. Acctually I am using this version Python 3.11.1, on Windows 10.

pip install clear

After install, this library go to python's prompt

from clear import clear

And finally run the clear command

clear()

Done! Enjoy.

0
Subscribe to my newsletter

Read articles from Felipe Leal directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Felipe Leal
Felipe Leal