Upload files to "/"
This commit is contained in:
21
ProgramUtils.py
Normal file
21
ProgramUtils.py
Normal file
@@ -0,0 +1,21 @@
|
||||
import subprocess
|
||||
import socket
|
||||
import datetime
|
||||
|
||||
def getVersion():
|
||||
return 0.1
|
||||
|
||||
def getName():
|
||||
return "Rec.py"
|
||||
|
||||
|
||||
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