import refrom urllib import urlopenwebpage = urlopen('http://www.python.org')text = webpage.read()m = re.search('<a href="([^"]+)">Tutorial</a>', text, re.IGNORECASE)print m.group(1)
Name (required)
email (will not be published) (required)
Website