[twill] Outputing showform to text file
Titus Brown
titus at caltech.edu
Sun Mar 5 23:34:25 PST 2006
On Wed, Mar 01, 2006 at 08:08:55AM -0800, Titus Brown wrote:
-> -> hello,
-> -> how do i output the results of >>showforms into a text file?
-> -> thank you
->
-> Hi, Norman,
->
-> you can't do this from the prompt directly, although I should probably
-> enable this for the next release...
->
-> If you're using the Python interface, then you can use
->
-> twill.set_output(fp)
-> twill.commands.showforms()
-> twill.set_output(None)
I've added two commands in the latest source:
redirect_output <filename>
reset_output
cheers,
--titus
More information about the twill
mailing list