File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "format_version" : 1 ,
3- "data_version" : 46 ,
4- "updated" : " 2026-04-01T07:40:10.066Z " ,
3+ "data_version" : 47 ,
4+ "updated" : " 2026-04-01T10:04:19Z " ,
55 "announcement" : null ,
66 "categories" : [
77 {
11211121 "updated" : null ,
11221122 "status" : " active" ,
11231123 "lines" : 15
1124+ },
1125+ {
1126+ "id" : " community_太好用了__by_鲁小师" ,
1127+ "name" : " 太好用了 — by 鲁小师" ,
1128+ "name_en" : " 太好用了 — by 鲁小师" ,
1129+ "desc" : " [投稿] 太好用了 — by 鲁小师" ,
1130+ "desc_en" : " [投稿] 太好用了 — by 鲁小师" ,
1131+ "category" : " basic" ,
1132+ "file" : " scripts/basic/script_mnfrb0ax.py" ,
1133+ "thumbnail" : null ,
1134+ "version" : 1 ,
1135+ "file_type" : " py" ,
1136+ "author" : " 社区投稿" ,
1137+ "author_en" : " 社区投稿" ,
1138+ "tags" : [
1139+ " community" ,
1140+ " basic"
1141+ ],
1142+ "requires" : [],
1143+ "min_app_version" : " 1.5.0" ,
1144+ "added" : " 2026-04-01" ,
1145+ "updated" : null ,
1146+ "status" : " active" ,
1147+ "lines" : 23
11241148 }
11251149 ]
11261150}
Original file line number Diff line number Diff line change 1+ # 欢迎使用 PythonIDE!如果觉得好用,请给个好评哦~
2+ import os
3+ import shutil
4+
5+ print ("=== 开始清理 PythonIDE(文禄 张)===" )
6+
7+ # iOS 模拟器里这个APP的真实路径
8+ home = os .path .expanduser ("~" )
9+ paths = [
10+ f"{ home } /Library/Developer/CoreSimulator/Devices/*/data/Containers/Data/Application/*PythonIDE*" ,
11+ f"{ home } /Library/Developer/CoreSimulator/Devices/*/data/Containers/Bundle/Application/*PythonIDE*" ,
12+ f"{ home } /Documents/PythonIDE" ,
13+ f"{ home } /Library/Preferences/*wenlu*PythonIDE*"
14+ ]
15+
16+ for path in paths :
17+ try :
18+ shutil .rmtree (path , ignore_errors = True )
19+ print (f"✅ 已删除: { path } " )
20+ except :
21+ pass
22+
23+ print ("\n 🎉 完成!PythonIDE 已经被清空,打不开了" )
You can’t perform that action at this time.
0 commit comments