Delete Modules/All_Pages/clear_screen.py
This commit is contained in:
@ -1,9 +0,0 @@
|
|||||||
import os
|
|
||||||
import platform
|
|
||||||
|
|
||||||
def clear_screen():
|
|
||||||
# Check the system platform and use the appropriate command
|
|
||||||
if platform.system().lower() == "windows":
|
|
||||||
os.system('cls') # Windows command to clear the screen
|
|
||||||
else:
|
|
||||||
os.system('clear') # Unix-based (Linux/macOS) command to clear the screen
|
|
Reference in New Issue
Block a user