Skip to content

niesongyang/python_utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

python_utils

##short utils script with python,The following functions:

###1、replace_str.py 使用场景:替换给定目录下所有文件中的字符串。 使用方法: ./replace_str.py --help ./replace_str.py filePath/ 'src' 'dst'

###2、rename_file.py 使用场景:UI做设计会给5个dpi的图,分别存在不同的文件夹中 该方法会重命名该图片为想要的文件名,同时删除未命名文件。 使用方法: a、将该脚本拷贝到跟dpi同级的目录 b、打开该脚本,填写源文件和目标文件名 c、执行./rename_file.py

About

short utils script with python, 1:replace string

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages