I'm doing a project for my school in which I would like to compare scam mails. I found this website: http://www.419scam.org/emails/
Now what I would like to do is to save every scam in apart documents then later on I can analyse them.
Here is my code so far:

import BeautifulSoup, urllib2

address='http://www.419scam.org/emails/'
html = urllib2.urlopen(address).read()
f = open('test.txt', 'wb')
f.write(html)
f.close()


This saves me the whole html file in a text format, now I would like to strip the file and save the content of the html links to the scams:

&lt;a href="2011-12/01/index.htm"&gt;01&lt;/a&gt; 
&lt;a href="2011-12/02/index.htm"&gt;02&lt;/a&gt; 
&lt;a href="2011-12/03/index.htm"&gt;03&lt;/a&gt;


etc.

If i get that, I would still need to go a step further and open save another href. Any idea how do I do it in one python code?

Thank you!


Question: Important non-technical course for programmers?
Answer: Any decent quality Work-Life Balance courses, workshops, or even books can be helpful to stress the importance, and remind us (all of us) how important it is in the long run to maintain a balanced life so we don't end up burnt-out, divorced, and suffering from major depressive disorder alone and laid off. 

In poor economic times it may be even more important, because of the tremendous pressure to cheat ourselves of this balance for what is typically a false hope of security (if the situation are really that precarious, it will mostly eventually fail anyhow). 

Avoid any training or seminars that are too gimmicky, or quick-fix oriented, but simple common-sense oriented balance is the best bet in my opinion.