[Zope] Python console

Chris McDonough chrism@digicool.com
Thu, 15 Mar 2001 15:06:39 -0500


Hi Stefano,

cd to the "lib/python" directory of your Zope.

then invoke python.

At the python prompt:

>>> import Zope
>>> app = Zope.app()
>>> app.Control_Panel
<ApplicationManager instance at 7128372>



----- Original Message -----
From: <spinwing@inwind.it>
To: <zope@zope.org>
Sent: Thursday, March 15, 2001 1:15 PM
Subject: [Zope] Python console


Hello

I have been reading some times that it is possible to start up the Pyhton
interpreter and dialog with Zope while it is running. However, I have no
clue how to do it, nor I found anything around, nor I do not know what I can
ask it.

Would somebody be so kind to give me some pointers?

Thanks and regards
Stefano Vedovelli


_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )