# -*- coding: utf-8 -*-
import os
path=".\\"
dirList=os.listdir(path)
for fname in dirList:
try:
if fname[-4:] == ".svg":
print fname
os.system('''"C:\Program Files (x86)\Inkscape\inkscape.exe" -z -e %s.png -w 256 -h 256 %s'''%(fname,fname))
except:
pass