Answers for "how to clear the command prompt in python"

13

console clear python

import os
os.system('clear')
Posted by: Guest on April-13-2020
10

python interpreter clear screen

import os

# Windows
os.system('cls')

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

Code answers related to "how to clear the command prompt in python"

Python Answers by Framework

Browse Popular Code Answers by Language