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 88 times
1 Answers
0
import os
os.system('cls')
You can use os.system('clear') if you are on linux.
Bitto Bennichan
- 7,277
- 1
- 13
- 38