[twill] Disable prints

John J Lee jjl at pobox.com
Tue May 30 02:17:07 PDT 2006


On Tue, 30 May 2006, twill.overbored at spamgourmet.com wrote:

> 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' )

shouldn't that be

twill.commands.OUT = open('/dev/null', 'w')


(I mean the 'w' rather than the open vs. file, but you shouldn't really 
use file as a c'tor)


John



More information about the twill mailing list