Re: Newbie question - deleting records from anydbm database

2005-12-15 Thread Dan M
>> Now how can I go about deleting that record when it's too old? >> > (untested) > > try > > del db[ipAddress] Yep, that did it. Thanks! -- http://mail.python.org/mailman/listinfo/python-list

Re: Newbie question - deleting records from anydbm database

2005-12-14 Thread Steve Holden
Dan M wrote: > I've been Googling like a mad fiend and flipping through my hard-copy > Python books, but still haven't located the one little bit of info I need. > > I've put together a simple SMTP-after-IMAP script that gets the authorized > IP info from the mail log (I know, it's not elegant but

Newbie question - deleting records from anydbm database

2005-12-14 Thread Dan M
I've been Googling like a mad fiend and flipping through my hard-copy Python books, but still haven't located the one little bit of info I need. I've put together a simple SMTP-after-IMAP script that gets the authorized IP info from the mail log (I know, it's not elegant but it works). All works f