I am making a text based rpg in python 3 and the output window gets very cluttered cluttered. I was wondering if there was a way to clear the screen automatically from time to time.
Asked
Active
Viewed 109 times
1 Answers
0
import os
os.system('cls')
You can use os.system('clear')
if you are on linux.

Bitto
- 7,937
- 1
- 16
- 38