Upload files to "/"
This commit is contained in:
17
ProgramUtils.py
Normal file
17
ProgramUtils.py
Normal file
@@ -0,0 +1,17 @@
|
||||
import subprocess
|
||||
import socket
|
||||
import datetime
|
||||
|
||||
Version = "0.1"
|
||||
|
||||
|
||||
def clearScreen():
|
||||
subprocess.run("cls", shell=True)
|
||||
|
||||
def getCurrentTime():
|
||||
now = datetime.datetime.now()
|
||||
currentTime = now.isoformat()
|
||||
return currentTime
|
||||
|
||||
def setConsoleTitle(Text):
|
||||
subprocess.run(f"title {Text}", shell=True)
|
||||
Reference in New Issue
Block a user