Commit b154fc81 by sikang

update script

parent 632ccb39
# #!/usr/bin/env python3
# import string
# import glob, os
# import sys
# import re
#
# def getNewName(file):
# if re.match(r"[0-9]*", string, flags=0) or file.startswith("_"):
#
# return file
#
#
#
# for root, dirs, files in os.walk("../../../app/src/main/res/drawable-xxhdpi"):
# directory = os.path.join(os.getcwd(), root)
# for file in files:
# if file.endswith(".java"):
# # get the path of the java file
# path = os.path.join(directory, file)
# os.rename(path,os.path.join(directory,getNewName(file)))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment