building a dictionary dynamically

Terry Reedy tjreedy at
Tue Feb 7 02:03:41 EST 2012

On 2/6/2012 11:10 AM, noydb wrote:
> Adding to dictionaries just isn't obvious... if it's not dict.Add or
> dict.Appaned or the like, not obvious to inexperienced me!

Have you read section 4.8-mapping types, of the library manual?
Or help(dict) at the interactive prompt?

Terry Jan Reedy

More information about the Python-list mailing list