Python
z宇儿
这个作者很懒,什么都没留下…
展开
-
利用Python删除Android项目中未使用的layout
import os# 查找所有没有用到的layoutdef findLayout(path): filePath = "F:/workspace/android/app/src/main" keyWord = ["R.layout.","@layout/"] # 记录drawable文件夹下的XML文件名(不带路径) stringUsedLayout = [...原创 2018-05-18 16:55:07 · 460 阅读 · 0 评论 -
利用Python查找出Android项目中未使用的string
import os# 查找目录下没有用到的drawable图片def findDrawable(path): filePath = "F:/workspace/android/app/src/main" keyWord = ["R.string.","@string/"] dirs1 = ["values\\strings.xml","values\\strings...原创 2018-05-18 16:58:42 · 393 阅读 · 0 评论 -
python学习线路图
转载 2019-06-22 10:18:23 · 179 阅读 · 0 评论