how can I clear a dictionary in python

Marko.Cain.23 at gmail.com Marko.Cain.23 at gmail.com
Wed Mar 28 18:38:45 EDT 2007


Hi,

I create a dictionary like this
myDict = {}

and I add entry like this:
myDict['a'] = 1
but how can I empty the whole dictionary?

Thank you.




More information about the Python-list mailing list