初步精简

This commit is contained in:
2023-01-16 15:23:25 +08:00
commit 328cb39ed0
51 changed files with 5158 additions and 0 deletions

13
RemovePycacheFile.py Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env python3
import os
def Remove(path):
for i in os.listdir(path):
nowPath = f"{path}/{i}"
if os.path.isdir(nowPath):
if i == "__pycache__":
os.system(f"rm -rfv '{nowPath}'")
else:
Remove(nowPath)
programPath = os.path.split(os.path.realpath(__file__))[0] # 返回 string
debPath = f"{programPath}/deb"
Remove(debPath)