[Zope] Easiest way to store the results of a form.
Joseph Wayne Norton
norton@alum.mit.edu
Tue, 12 Feb 2002 22:43:04 +0900
If your zope admin will grant you access to the zLOG module, you can
simply do something like the following within a python script:
from zLOG import LOG, INFO
LOG('form_data', INFO, '%s' % context.request.form)
This will log an entry into Zope's stupid logger file on the file
system.
- j
At Tue, 12 Feb 2002 14:06:13 +0100,
Lennart Regebro wrote:
>
> What is, in your opinion, the easiest way to store the results of a form,
> either from DTML or from a Python script? I'd rather not install a database,
> I can't write to disk files from python scripts...
>
> Any easy ways are appriciated, I have already thrown away several hours to
> do this and I completely refuse to waste any more time on this. There has to
> be a dead easy way that I have missed.
>
>
>
> _______________________________________________
> 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 )
>