Trying to make HTML generation in Python less painful.