gdbm troubles.

Laszlo Nagy gandalf at shopzeus.com
Thu Oct 11 09:42:23 EDT 2007


Shriphani wrote:
> dictionary = gdbm.open('dictionary','c')
> dictionary['Ellipsize'] = 'Openbox'
> dictionary.get('Ellipsize')
>   
Try this:

print dictionary['Ellipsize']
del dictionary['Ellipsize']


gdbm objects are similar to builtin dictionaries. By the way, they are 
not iterable, but they should be. I posted a proposal some days ago and 
nobody was against this. How can I start a discussion about this? Can we 
vote for this new feature here? Is this the right place?


  Laszlo




More information about the Python-list mailing list