How do you clear the output screen off all text(python 3)
[deleted]
how do you clear the output screen of all text in python 3
Voters
Nayoar
@fullern000 i think you're getting a bit confused - it only works in eval mode, which is when you only have a single .py file
PYer
@minermaniac447 Really? That has changed then since I last used it. It used to be that you could only do that in the shell.
If you have explorer mode, use
__import__("os").system("cls" if os.name == "nt" else "clear")
.If not, use
__import__("replit").clear()
.thanks that worked