Tracking Tiger Woods (using Python)

As much as I enjoy it, I can't always spend an afternoon watching the Masters. So I've rolled a little Python script to keep track of the leaderboard: anytime Tiger Woods moves relative to par, I get a text message telling me.

To convert the raw HTML leaderboard into a friendly list of tuples I just used regular expressions, since speed and reusability didn't seem all that important. From there I grab Tiger's score, check if something has changed, and shoot out an e-mail using smtplib and Gmail.

Hopefully, the last message I get tomorrow will say "Tiger is leading the Masters."