I am trying to format a dictionary and specify elements' width using the newer str.format():
>>> record = { 'name': 'Donald Trump', 'age': 12 }
>>> print "{name} {age}".format(**record)
Donald Trump 12
>>> # how would I set width for the name field to accommodate longer names
How do I use a combination of dictionary attributes access and formatting like width control?