arr1=['1080i50','1080i5994','720p50','720p5994','1080p50','1080p5994']
arr2=['420SQ','420HQ','422SQ','422HQ']
arr3=['8bit','10bit']
newarr=[]
mystr1='D:\\MyWork\\vg-test\\TestCase\\newfiles\\'
mystr2='8SDT2SRT_listener.py'
for x in range(0,6):
for y in range(0,4):
for z in range(0,2):
filestr=mystr1+ str(arr1[x])+str(arr2[y]+str(arr3[z]))+mystr2
with open(filestr,"a") as fp:
print(x,y,z)
fp.close
三个数组组合成文件名
最新推荐文章于 2024-07-10 19:27:42 发布