Wells Oliver wrote:
> Can you use dicts with string.Template?
>
> e.g. a structure like:
>
> game = {
> 'home': {'team': row['home_team_full'], 'score': row['home_score'],
> 'record': '0-0', 'pitcher': {
> 'id': home_pitcher.attrib['id'], 'name':
> home_pitcher.attrib['last_name'], 'wins': home_
Can you use dicts with string.Template?
e.g. a structure like:
game = {
'home': {'team': row['home_team_full'], 'score':
row['home_score'],
'record': '0-0', 'pitcher': {
'id': home_pitcher.attrib['id'], 'name':
home_pitcher.attrib['last_name'], 'wins': hom