how can I clear a dictionary in python

Marko.Cain.23 at gmail.com Marko.Cain.23 at gmail.com
Thu Mar 29 00:38:45 CEST 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