Add files via upload

This commit is contained in:
ALittlePatate
2021-02-24 12:50:03 +01:00
committed by GitHub
parent ce3fa9a6d7
commit c3c3399ca0
12 changed files with 4347 additions and 0 deletions

14
classes/last.py Normal file
View File

@@ -0,0 +1,14 @@
class last :
def read(self) :
with open("configs/last/last.txt", "r") as f :
for line in f :
last = line
return last
def write(self, name) :
with open("configs/last/last.txt", "a") as f :
f.seek(0)
f.truncate()
f.write(name)
f.close()