You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
from datetime import datetime
|
|
|
|
|
|
def timestampToDate(ts):
|
|
return datetime.fromtimestamp(int(ts)/1000000).strftime("%y-%m-%d %H:%M")
|
|
|
|
|
|
def writeLog(text):
|
|
with open("debug.log", "a") as f:
|
|
f.write(str(text))
|