[Zope] Python -> ZopePython cheat sheet?
Chris McDonough
chrism@zope.com
Mon, 4 Nov 2002 18:21:19 -0500
You may want to try out Dieter Maurer's DocFinder product
(http://www.dieter.handshake.de/pyprojects/zope/DocFinder.html).
Otherwise the help system and the Zope Book appendices are what
you've got. Note that there is a fairly extensive API reference in
the help system.
Were you successful at accessing your Zope objects in a Python
prompt? Were you able to glean this from some of the other things
that were sent your way last week:
cd ZOPEHOME/lib/python
python
>>> import Zope
>>> app = Zope.app()
>>> app.objectIds()
['standard_error_message', ...]
You can explore Zope objects via a command-line this way.
HTH,
- C
----- Original Message -----
From: "Skip Montanaro" <skip@pobox.com>
To: <zope@zope.org>
Sent: Monday, November 04, 2002 6:16 PM
Subject: [Zope] Python -> ZopePython cheat sheet?
>
> I am *so* used to just being able to explore around my Python
interpreter
> and having everything I need documentation-wise in the global
module index
> of the library reference manual that I am finding the whole Zope
experience
> incredibly frustrating. Is there no equivalent of dir() or type()
which I
> can use from a Python script to find out what the heck I've been
passed?
> Assuming there is some way to find out what I've gote, is there
something
> like Python's global module index where I can just click on
"Formulator" or
> "container" and get some documentation useful to a Python
programmer?
>
> frustrated-in-evanston...
>
> --
> Skip Montanaro - skip@pobox.com
> http://www.mojam.com/
> http://www.musi-cal.com/
>
> _______________________________________________
> 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 )
>