Open enzyme69 opened 6 years ago
import glob
import os
print("hello")
# for sketchfab.timeframe
path = '/Users/jimmygunawan/Desktop/metaball_BMP/*.bmp'
TextList = []
# (py35) ~/potrace potrace /Users/jimmygunawan/Desktop/metaball_BMP/0001.bmp -s -o 0001.svg
for item in sorted(glob.glob((path))):
print(item)
#print( str(duration), os.path.basename(item) )
fullname = os.path.basename(item)
nameonly = fullname.split('.')[0]
#TextList.append(str(dur) + " " + os.path.basename(item))
#TextList.append(nameonly)
TextList.append("/Users/jimmygunawan/potrace/potrace {name}.bmp -s -o {name}.svg".format(name=nameonly))
POTRACE_BMP_SVG_batch_002_2017_12_05_09_21.zip