<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body alink="#EE0000" bgcolor="#FFFFFF" link="#0B6CDA" text="#000000"
vlink="#551A8B">
I tried making a DBEnv object in the interpreter (Python 2.7 64-bit
on Win7) and I keep getting a NoSuchFile error.<br>
<code>import os<br>
from bsddb import db<br>
<br>
os.chdir(os.path.expanduser('~'))<br>
os.mkdir('DB') # the home for my DBenv<br>
home = os.path.join(os.getcwd(), 'DB')<br>
dbenv = db.DBEnv()<br>
dbenv.open(home, db.DB_INIT_CDB|db.DB_INIT_MPOOL, 0)<br>
</code><br>
What am I doing wrong?
</body>
</html>