Adding to dictionaries

Glen Collins (glenc@netcom.com)
Wed, 25 Jan 1995 22:24:46 GMT

Hello Python world!

Is there a simple way to concatinate data to dictonaries? Say something
to this effect:

x={'foo': 1234,'bar':5678}

and add to "x" y={'ack':901234}

I don't see any function to do this. Being NEW to python all these little ways of
doing stuff is not in my memory banks yet.

-Thanks!

-Glen Collins

--