<s> from pyramid . scaffolds import PyramidTemplate <EOL> import string , random <EOL> class SubstanceDProjectTemplate ( PyramidTemplate ) : <EOL> def pre ( self , command , output_dir , vars ) : <EOL> size = <NUM_LIT:10> <EOL> chars = string . ascii_letters + string . digits <EOL> vars [ '<STR_LIT>' ] = '<STR_LIT>' . join ( <EOL> random . choice ( chars ) for x in range ( size ) <EOL> ) <EOL> return PyramidTemplate . pre ( self , command , output_dir , vars ) <EOL> _template_dir = '<STR_LIT>' <EOL> summary = '<STR_LIT>' </s>
