Brian Sullivan wrote at 2005-10-7 11:42 -0400:
>I am looking for a simple strategy to write a debug log file from a python

In an External Method (trusted code), you can write files
as usual in Python. An elementary log function could be:

   def log(msg):
     open(LOGFILE, "a").write(msg)

You cannot use "open" in untrusted code (for obvious reasons).

Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to