János Juhász wrote:
> Hi All,
> 
> Is it possible to replace the print statement with one of mine function ?
> 
> In reality, I would like to replace the print in my PyCrust app with the 
> log.write() function.

Best: Use a good editor to change your print statements to log.write()

Not so good: Replace sys.stdout with something that intercepts write() 
calls and sends them to the log.

Kent

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to