mirror of
https://github.com/minoplhy/filters-maker.git
synced 2024-12-22 18:18:13 +00:00
Add 'build_make.py'
This commit is contained in:
parent
de8a134f37
commit
198a4ad472
10
build_make.py
Normal file
10
build_make.py
Normal file
@ -0,0 +1,10 @@
|
||||
import os
|
||||
import glob
|
||||
import shutil
|
||||
|
||||
def filepath_mass_changer(Version ,path ,apapath):
|
||||
f = glob.glob(os.path.join(path,"*.txt"))
|
||||
for filename in f:
|
||||
s = os.path.basename(filename)
|
||||
os.rename(filename, os.path.join(path, Version + '_' + s ))
|
||||
shutil.copytree(path, apapath)
|
Loading…
Reference in New Issue
Block a user