[Zope] [ANN] zshell: The Zope Shell
Chris McDonough
chrism@digicool.com
Thu, 3 May 2001 08:53:15 -0400
> Now playing with your new shell really makes me wonder serisouly about
Zope
> interpreter. One can use python to but not at the same time as Zope is
> running.
Actually, this isn't true.
[chrism@serenade chrism]$ cd sandboxes/CMFTest/
[chrism@serenade CMFTest]$ ls
CVS ZServer lib utilities wo_pcgi.py zpasswd.py
Extensions doc pcgi var wo_pcgi.pyc zpasswd.pyc
LICENSE.txt import start w_pcgi.py z2.py
README.txt inst stop w_pcgi.pyc z2.pyc
[chrism@serenade CMFTest]$ cd lib/python/
[chrism@serenade python]$ python
Python 1.5.2 (#1, Feb 1 2000, 16:32:16) [GCC egcs-2.91.66 19990314/Linux
(egcs
- on linux-i386
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import Zope
>>> app = Zope.app()
>>> app.objectIds()
['acl_users', 'Control_Panel', 'standard_html_header',
'standard_html_footer', '
standard_error_message', 'QuickStart', 'index_html', 'ChrisPortal',
'fudgely', '
fleeber']
>>>