-2

Does python have in-built functionality to delete console outputs whilst it runs or is there a library to do so

I have tried to find functions in python that might be able to clear the console outputs (while it runs to reduce the amount of words in the console) however my Searches came up fruitless

  • 3
    Does this answer your question? [How to clear the interpreter console?](https://stackoverflow.com/questions/517970/how-to-clear-the-interpreter-console) – BruceWayne Mar 16 '23 at 18:01

1 Answers1

0

you can use clear module.

To install the package: pip install clear

import clear

clear.clear()