Bottle - микро веб фреймворк для python, предназначен для написания простых веб-приложений, не требует установки - достаточно файла bottle.py, есть возможность работы без веб-сервера, оф.сайт
easy_install bottle
from bottle import run, route
@route('/')
def main():
return "hello world!"
run(port=8080)
# coding: utf-8
from bottle import request, response, run, route
@route('/')
def main():
return '<form method="POST"><input type="text" name="name"/><input type="submit"/></form>'
@route('/', method='POST')
def main_post():
return 'hello ' + request.POST['name']
run(port=8080)