Answers for "clearing the input screen in python"

28

clear screen python

Import os
 
os.system("clear") # Linux - OSX
os.system("cls") # Windows
Posted by: Guest on April-05-2020
2

python cls statement using os module

import os
os.system('cls')  # on windows
Posted by: Guest on November-09-2020
6

python clear console

print('\033[H\033[J', end='')
Posted by: Guest on October-18-2020

Python Answers by Framework

Browse Popular Code Answers by Language