[twill] Outputing showform to text file

Titus Brown titus at caltech.edu
Wed Mar 1 08:08:55 PST 2006


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

cheers,
--titus



More information about the twill mailing list