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)