Answers for "shortcut to clean python console"

8

how to clear console python

import os
os.system('cls' if os.name == 'nt' else 'clear')
Posted by: Guest on September-25-2020
0

clear window python console

import os
clear = lambda: os.system('cls')
Posted by: Guest on September-04-2020

Python Answers by Framework

Browse Popular Code Answers by Language