The flask module provides a microframework for creating web applications with Python. It makes heavy use of decorators to make handling HTTP requests very simple. It also keeps a lot of the internals away from your code, making what you write very easy to read, even with little knowledge of flask itself.
Since this book teaches by example, let's get right into setting up a flask server.