1 Star 0 Fork 31

漂泊的雪/Wine 运行器

forked from gfdgd xi/Wine 运行器 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
RemovePycacheFile.py 404 Bytes
一键复制 编辑 原始数据 按行查看 历史
gfdgd xi 提交于 2023-03-11 11:44 +08:00 . 新增东东
#!/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}/"
Remove(debPath)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/wandering_snow/deep-wine-runner.git
git@gitee.com:wandering_snow/deep-wine-runner.git
wandering_snow
deep-wine-runner
Wine 运行器
main

搜索帮助

371d5123 14472233 46e8bd33 14472233