[ZODB-Dev] Re: ZODB Import Help

Kevin Altis altis@semi-retired.com
Sun, 27 Jan 2002 12:06:15 -0800


Dan's earlier email regarding the ZODB imports below is essentially a
question of how you go about writing a script that will work with either a
Zope installation or a StandaloneZODB installation? The packages below look
like they are in StandaloneZODB, so once we have a binary Windows installer
the program will probably work fine. But how would the script and imports
have to change to access the ZODB database and support classes for a Zope
installation? Is that one of the issues that hasn't been resolved yet?

import ZODB
from Persistence import Persistent
from ZODB.PersistentList import PersistentList
from ZODB import DB, FileStorage
import BTrees
from BTrees import OOBTree

ka
---
Kevin Altis
altis@semi-retired.com