Commit 4dcb3bfa by BellCodeEditor

save project

parent bf1f7e37
...@@ -24,7 +24,10 @@ class log: ...@@ -24,7 +24,10 @@ class log:
for i in self.log: for i in self.log:
return_r = return_r + i return_r = return_r + i
return_r = return_r + sep return_r = return_r + sep
return return_r[0:len(return_r)-len(sep)] try:
return return_r[0:len(return_r)-len(sep)]
except:
return ""
if __name__ == "__main__": if __name__ == "__main__":
print('log 1.0.0\nHello from the log community.') print('log 1.0.0\nHello from the log community.')
\ No newline at end of file
...@@ -18,6 +18,8 @@ food = pg.image.load("apple.png") ...@@ -18,6 +18,8 @@ food = pg.image.load("apple.png")
win_log.att_log("素材创建","成功") win_log.att_log("素材创建","成功")
print(win_log.all_logvul()) print(win_log.all_logvul())
win_log.cutall_log()
print(win_log.all_logvul())
while True: while True:
for event in pg.event.get(): for event in pg.event.get():
......
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