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

Function clear_screen

script_count.py:24–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

script_count.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected