<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2722" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>How about creating a string or list, then appending
your debug info to the string/list, then returning the string/list to the
calling routine which then displays the string/list?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Jonathan</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=briansullivan@gmail.com href="mailto:briansullivan@gmail.com">Brian
Sullivan</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=zope@zope.org
href="mailto:zope@zope.org">zope@zope.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, October 07, 2005 11:42
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Zope] Write log file from
script</DIV>
<DIV><BR></DIV>
<DIV>I am looking for a simple strategy to write a debug log file from a
python script.</DIV>
<DIV> </DIV>
<DIV>I used to have such a beast but somewhere in a shuffle it got lost -- and
my brain seems to be dead this morning trying to figure it out.</DIV>
<DIV> </DIV>
<DIV>Anybody out there have something like this or a url explaining how to do
it?</DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Zope maillist
-
Zope@zope.org<BR>http://mail.zope.org/mailman/listinfo/zope<BR>**
No cross posts or HTML encoding! **<BR>(Related lists -
<BR> http://mail.zope.org/mailman/listinfo/zope-announce<BR> http://mail.zope.org/mailman/listinfo/zope-dev
)<BR></BLOCKQUOTE></BODY></HTML>