On Tue, May 30, 2006 at 10:17:07AM +0100, John J Lee wrote:
-> On Tue, 30 May 2006, [EMAIL PROTECTED] 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)
yeah, I noticed that & tried it, as well. no deal. very odd.
Somewhere I read that 'open' is deprecated by GvR and 'file' is the
right way to go...
cheers,
--titus
_______________________________________________
twill mailing list
[email protected]
http://lists.idyll.org/listinfo/twill