1
0
Fork 0
mirror of https://github.com/minoplhy/filters-maker synced 2023-12-14 08:32:52 +01:00

Add 'build_make.py'

This commit is contained in:
Kale 2021-08-20 23:41:05 -07:00
parent de8a134f37
commit 198a4ad472
No known key found for this signature in database
GPG key ID: F8A6CE83F1274467

10
build_make.py Normal file
View 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)