With the following code I try to fetch the HTML of an URL:
from twill.commands import * import twill go("http://example.com") sitehtml = twill.get_