Ok, now it's on my website and has a few more bells and whistles.
http://www.davefancella.com/mambo/content/view/79/70/
So, anyone want to write up a class using pygame that will parse math statements and render them to surfaces? I'm thinking stuff like this:
3 sqrt(2)/2 : And I should get from that a pygame Surface that is as tall as the font used for the rest. It would be nice if it would parse any string looking for math statements and render them inline with the text, but not required. It should be open-ended enough that it should render identically:
3 sqrt(2)/2 3 * sqrt(2)/2 3sqrt(2)/2
I think the shlex module will provide something you might be able to use to parse the statement, maybe a regex will be able to pull it out of a line of text. But pulling it out of a line of text isn't really required, it would just be nice to have.

(Then I could just put it in the font class and not worry about it)
I'll tackle it eventually, but right now the solution I'm looking at is just drawing the pictures I need and loading them, but that's hardly an ideal solution.