[py-lmdb] Re: drop environment (#70)

  • From: David Wilson <dw@xxxxxxxx>
  • To: py-lmdb@xxxxxxxxxxxxx
  • Date: Tue, 20 May 2014 15:35:45 +0000

Hey Dinesh,

I guess we may as well start using this list. :)

There is no built-in way to delete an environment, since it would
require synchronizing its closure across all processes that have it
open. Instead just do something like:

    import shutil

    path = env.path()


On Tue, May 20, 2014 at 08:32:30AM -0700, dineshbvadhia wrote:
> A db can be dropped from an Env. Can an Env be dropped/deleted?

Other related posts: