Commit 377b5616 by BellCodeEditor

save project

parent b082f57c
# constant
NEWLOG = {}
NEWLOGNUM = 0
NEWLOGOI = 0
class log: class log:
def __init__(self): def __init__(self):
self.log = {} self.log = NEWLOG
self.lognum = 0 self.lognum = NEWLOGNUM
self.logoi = NEWLOGOI
print('log 1.0.0\nHello from the log community.') print('log 1.0.0\nHello from the log community.')
def att_log(self, log_key, log_word): def att_log(self, log_key, log_word):
...@@ -9,4 +15,7 @@ class log: ...@@ -9,4 +15,7 @@ class log:
self.log[log_key] = log_word self.log[log_key] = log_word
def cutall_log(self): def cutall_log(self):
self.log = {} self.log = {}
\ No newline at end of file
def seek_log(self):
pass
\ No newline at end of file
...@@ -12,4 +12,4 @@ win_log = log() ...@@ -12,4 +12,4 @@ win_log = log()
while True: while True:
for event in pg.event.get(): for event in pg.event.get():
if event.type == locals.QUIT: if event.type == locals.QUIT:
exit() exit()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment