[Zope] Re: Best Zope book for Developers?

sean.upton@uniontrib.com sean.upton@uniontrib.com
Wed, 04 Jun 2003 11:07:54 -0700


http://mail.zope.org/pipermail/zope/2003-February/131882.html

Example:
1 - Use ZEO
2 - open up Python2.1 with lib/python added to your PYTHONPATH env variable.
3 - do the following:
>>> import Zope
>>> app=Zope.app()
>>> myfolder=app['MyFolderIdIsThis'].__of__(app)
>>> myfolder.manage_deleteObjects(['obj1','obj2'])
>>> get_transaction().commit()


> -----Original Message-----
> From: Bill Bell [mailto:bill-bell@bill-bell.hamilton.on.ca]
> Sent: Wednesday, June 04, 2003 10:16 AM
> To: zope@zope.org
> Subject: [Zope] Re: Best Zope book for Developers?
> 
> 
> 
> Terry Hancock <hancock@anansispaceworks.com> wrote, in part:
> > Learn how to load Zope from the python interpreter as well -- this
> > will allow you to use interfaces and introspection tools to find out
> > complete APIs. 
> 
> Would someone please say what the best ways of doing this are?
> 
> Thanks.
> 
> Bill
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
>