MCPcopy Create free account
hub / github.com/geekcomputers/Python / clear_screen

Function clear_screen

daily_checks.py:23–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21
22
23def clear_screen(): # Function to clear the screen
24 if os.name == "posix": # Unix/Linux/MacOS/BSD/etc
25 os.system("clear") # Clear the Screen
26 elif os.name in ("nt", "dos", "ce"): # DOS/Windows
27 os.system("CLS") # Clear the Screen
28
29
30def print_docs(): # Function to print the daily checks automatically

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected