gdbm troubles.

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Thu Oct 11 08:22:02 EDT 2007


On Thu, 11 Oct 2007 11:49:05 +0000, Shriphani wrote:

> dictionary = gdbm.open('dictionary','c')
> dictionary['Ellipsize'] = 'Openbox'
> dictionary.get('Ellipsize')
> 
> the last line generates an attribute error. Can someone tell me what I
> am doing wrong?

You are trying to use a method that does not exist.  That `gdbm` object
doesn't have a `get()` method.

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list