Take a look at the Flask microframework
There are several micro web frameworks. I personally like Bottle
A good overview list of options exist here.