Are you sure you are not digging too deeply? I've used state.get_html() to obtain a string that contains the result page text. Also save_html to write it to a file.
from twill.commands import *
from twill.commands import state
go('http://example.com/')
save_html('example.html')
print state.get_html()
--
James Cameron
http://ftp.hp.com.au/sigs/jc/
_______________________________________________
twill mailing list
[email protected]
http://lists.idyll.org/listinfo/twill
