You might also find value in requests and lxml.html.  Requests is another way to make http requests and lxml is an alternative for parsing xml and html content.

There are many ways to search the html document but you might want to start with cssselect.

import requests
from lxml.html import fromstring

url = 'http://www.419scam.org/emails/'
doc = fromstring(requests.get(url).content)

atags = doc.cssselect('a')

# using .get('href', '') syntax because not all a tags will have an href
hrefs = (a.attrib.get('href', '') for a in atags)


Or as suggested in the comments using .iterlinks().  Note that you will still need to filter if you only want 'a' tags.  Either way the .make_links_absolute() call is probably going to be helpful.  It is your homework though, so play around with it.

doc.make_links_absolute(base_url=url)

hrefs = (l[2] for l in doc.iterlinks() if l[0].tag == 'a')


Next up for you... how to loop through and open all of the individual spam links.

Write a python script that goes through the links on a page recursively
I've been practicing on my tapping ability. An example of what I mean by tapping can be viewed here, notice how the right hand hits the strings. 

I'm currently using all four fingers excluding the thumb to tap the guitar. I find my pinky is not as strong as my other fingers when it comes to applying the appropriate strength on the string. What are some exercises I can do to increase my overall finger strength when tapping? More tapping?

As a sidenote, I've noticed that I use the momentum of my forearm to help apply the appropriate pressure on the string I'm trying to hit. If I remove that momentum and only use force created by the movement of my finger the pressure is significantly less. I was hoping these exercises would also help me to not rely on my forearm as much.
