1st Dive into Python
Getting the links out of an html document using python's built in regular expressions:
from urllib import urlopen
socket = urlopen(url)
html = re.sub('\n', '', socket.read())
return re.findall('< a href="(.*?)">.*?< /a>', html, re.IGNORECASE)
The regular expression might not show up as intended!
Remove the space between the less/greater-than sign and the a.