-> Is it possible to disable the prints to stdout made by the functions
-> in twill.commands? I tried
-> 
-> import twill.commands
-> twill.commands.OUT = file( '/dev/null' )
-> 
-> But that didn't work. Thanks in advance.

Hmm, I'm not sure why setting 'OUT' doesn't work.  But you can do this:

import twill
from cStringIO import StringIO

twill.set_output(StringIO())

cheers,
--titus

_______________________________________________
twill mailing list
[email protected]
http://lists.idyll.org/listinfo/twill

Reply via email to