[Zope3-Users] Running Zope3 interactively

Tom Dossis td at yoma.com.au
Thu Nov 25 23:40:00 EST 2004


Hi all,
I'd like to run Zope3 interactively (from the python prompt)...

# from runzope
from zope.app.server.main import setup
setup(['-C', '/pathto/zope.conf'])

# Now what?
# under zope2 I could do something like...
# import Zope
# app = Zope.app()
# ob = app.restrictedTraverse('/pathto/content')

-Tom


More information about the Zope3-users mailing list