Learn Flask
Lightweight Python web framework: routing, templates and nothing you don't ask for
Flask is a small, explicit Python web framework built on Werkzeug (WSGI, routing, request and response objects) and Jinja (templates). You start with a single file and add structure and extensions as the project grows. It is widely used for websites, internal tools and JSON APIs, and its simplicity makes it a great way to learn how web apps really work.
Before you start
How deep do you want to go?
1. EssentialsRead and write simple code, do the everyday basics
2. PracticalUse it productively at work, with the usual idioms
3. AdvancedThe less common features, performance and trade-offs
4. ExpertInternals and the edge cases experts know