Python Command line {was => Re: [Zope] ANN: Core Session Tracking 0.8 released}

Chris Withers chrisw@nipltd.com
Wed, 04 Apr 2001 17:09:18 +0100


Jason Cunliffe wrote:
> 
> > Works for me... just tried it from the command line like this:
> >
> > cd lib/python; python
> > >>> import Zope
> > >>> app = Zope.app()
> > >>> app.ZopeFind(app, obj_metatypes=['Session Id Manager'])
> > [('session_id_mgr', <SessionIdManager instance at 869e1d8>)]
> 
> Chris,
> 
> As an aside, this command line access looks very nice. I am very curious..
> 
> Please how do you do this?

You either need to:

- Shut down Zope
- or be running ZEO

I have a question too:

How do you do the above when your Data.fs is INSTANCE_HOME'd?

Surely the above will import the Data.fs from SOFTWARE_HOME (which is still
brand new in my case ;-)

cheers,

Chris