[Zope] Python -> ZopePython cheat sheet?
Skip Montanaro
skip@pobox.com
Mon, 4 Nov 2002 19:09:49 -0600
Chris> You may want to try out Dieter Maurer's DocFinder product
Chris> (http://www.dieter.handshake.de/pyprojects/zope/DocFinder.html).
Thanks, I'll give it a look.
Chris> Otherwise the help system and the Zope Book appendices are what
Chris> you've got. Note that there is a fairly extensive API reference
Chris> in the help system.
This part is frustrating. Stuff seems to be scattered all over the place.
Part of my frustration is that when I find something that looks promising I
generally have to figure out what the page template equivalent of a dtml
example is. I really don't want to wade into dtml again. I used it for a
few years outside of Zope and didn't like it.
Chris> Were you successful at accessing your Zope objects in a Python
Chris> prompt?
Yes, thanks. I can get to the static stuff without too much trouble using
the medusa/monitor_client script. It's a tad frustrating to not have
readline, but I guess that's the price I have to pay for using a canned
install on a not-quite-yet wrung out platform (MacOSX). Perhaps I can coax
IPython or pyrepl into working for me. I haven't yet tried submitting a
form with several fields. I anticipate that will be tedious.
Is there some way I can make dir() and type() available to scripts for
development purposes and make sys importable once again?
--
Skip Montanaro - skip@pobox.com
http://www.mojam.com/
http://www.musi-cal.com/