title: Python CGI without HTML clutter in source code?
body: <p>I am new to web development. After much consideration I picked Python over Ruby simply because code readability is important to me.  I have looked at a few Python cgi code and I wondered if it is possible to polish that code in such a manner that I can focus on program functionality without having to have all the HTML formatting code embedded (cluttering) in the Python source, i.e. separate the actual Python code from the HTML code.  Perhaps this style of programming then leaves the realm of CGI into something else? (i.e. CGI = script that generates a web page).</p>