<s> from jinja2 import Template <EOL> NAME = '<STR_LIT>' <EOL> DICT = { <EOL> '<STR_LIT>' : <NUM_LIT:32> , <EOL> '<STR_LIT>' : <NUM_LIT:4> , <EOL> } <EOL> def generate ( filename , temp_dict ) : <EOL> text = open ( filename , '<STR_LIT:r>' ) . read ( ) <EOL> template = Template ( text ) <EOL> rslt = template . render ( temp_dict ) <EOL> return rslt <EOL> print ( generate ( NAME , DICT ) ) </s>
