Answers for "def clear(): os.system('cls')"

14

python clear console

import sys, os

os.system('cls')
Posted by: Guest on February-29-2020
10

python interpreter clear screen

import os

# Windows
os.system('cls')

# Linux
os.system('clear')
Posted by: Guest on May-23-2020

Python Answers by Framework

Browse Popular Code Answers by Language