Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Python
clearing the terminal in python
LazyGrayMatter
Programming language:
Python
2021-05-29 19:28:05
0
Q:
clearing the terminal in python
user24373
Code:
Python
2021-07-21 22:48:27
import os os.system("clear") print("Hello!") #Only Hello will be in the terminal
1
Tags
terminal
python
Related
How can I get terminal output in python
how to clear python console
clear window python console
how to clear console python
console clear python
python how to run terminal command
how to clear console in repl.it python
clear console in python
clear python list
how to minimize command console python
how to clear the console python
exit python terminal
get string from terminal python
python clear console
clear screen python
python interpreter clear screen
how to run python in terminal
how to clear a list in python
New to Communities?
Join the community