q6 commited on
Commit
c2e82c1
·
1 Parent(s): b0521a0
Client/clear_db.py DELETED
@@ -1,10 +0,0 @@
1
- import os
2
- import shutil
3
-
4
- os.chdir(os.path.dirname(os.path.abspath(__file__)))
5
-
6
- shutil.rmtree("db", ignore_errors=True)
7
- shutil.rmtree("images", ignore_errors=True)
8
- # for file in os.listdir():
9
- # if file.endswith(".txt"):
10
- # os.rename(file, f"txt logs/{file}")
 
 
 
 
 
 
 
 
 
 
 
Client/clear_texts.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ # import shutil
3
+
4
+ os.chdir(os.path.dirname(os.path.abspath(__file__)))
5
+
6
+ # shutil.rmtree("db", ignore_errors=True)
7
+ # shutil.rmtree("images", ignore_errors=True)
8
+ for file in os.listdir():
9
+ if file.endswith(".txt"):
10
+ os.rename(file, f"txt logs/{file}")
Client/{t2.py → show_all.py} RENAMED
File without changes