I'm running a script that uses a module that prints a lot of things on screen and I'm running out of RAM.
I can't make the module not to write anything for now.
The Python Shell stores absolutely everything and I want to clear it.
On similar questions the only answer I could find was to write os.system('cls')
(on Windows), but it doesn't delete anything.
Is there a way to clear the Python Shell or to limit its size?
Thanks
Edit.
Well, this question was marked as duplicate and I am asked to clarify why it isn't.
I state that os.system('cls')
doesn't work, while the answer to the question I supoosedly duplicate is to write os.system('cls')
.