walterbyrd wrote: > On May 20, 9:59 am, Marco Mariani <ma...@sferacarta.com> wrote: > >> Do you know what a dictionary is? > > Yes, but I thought a dictionary used curly brackets. Is the object a > dictionary?
foo = {"key" : "i'm the value of a dictionary"} print foo["key"] I suggest you read the tutorial: http://docs.python.org/tutorial/datastructures.html#dictionaries Diez -- http://mail.python.org/mailman/listinfo/python-list