Answers for "how to clear logs in python in windows 10 cmd"

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

Code answers related to "how to clear logs in python in windows 10 cmd"

Python Answers by Framework

Browse Popular Code Answers by Language