<s> """<STR_LIT>""" <EOL> import glob <EOL> import os <EOL> import re <EOL> from wx . tools import img2py <EOL> output = '<STR_LIT>' <EOL> files = glob . glob ( '<STR_LIT>' ) <EOL> open ( output , '<STR_LIT:w>' ) <EOL> for file in files : <EOL> print "<STR_LIT>" , file <EOL> name = os . path . splitext ( os . path . basename ( file ) ) [ <NUM_LIT:0> ] <EOL> if file == files [ <NUM_LIT:0> ] : <EOL> cmd = "<STR_LIT>" % ( name , file , output ) <EOL> else : <EOL> cmd = "<STR_LIT>" % ( name , file , output ) <EOL> img2py . main ( cmd . split ( ) ) </s>
