Writing a website in Python
<p>I'm pretty proficient in PHP, but want to try something new.</p>

<p>I'm also know a bit of Python, enough to do the basics of the basics, but haven't used in a web design type situation.</p>

<p>I've just written this, which works:</p>

<pre><code>#!/usr/bin/python

def main():
    print "Content-type: text/html"
    print
    print "&lt;html&gt;&lt;head&gt;"
    print "&lt;title&gt;Hello World from Python&lt;/title&gt;"
    print "&lt;/head&gt;&lt;body&gt;"
    print "Hello World!"
    print "&lt;/body&gt;&lt;/html&gt;"

if __name__ == "__main__":
    main()
</code></pre>

<p>Thing is, that this seems pretty cumbersome. Without using something huge like django, what's the best way to write scripts that can process get and post?</p>
