Is there a way of writing Python embedded in HTML like I do with PHP or JSP?
Use a template engine, such as:
The python wiki also has an article on this topic, with many more suggestions.