Chapter 10. Web Programming: CGI and WSGI

[The] benefits of WSGI are primarily for Web framework authors and Web server authors, not Web application authors. This is not an application API, it’s a framework-to-server glue API.

—Phillip J. Eby, August 2004

In this chapter...

Introduction

Helping Web Servers Process Client Data

Building CGI Applications

Using Unicode with CGI

Advanced CGI

Introduction to WSGI

Real-World Web Development

Related Modules

10.1. Introduction

This introductory chapter on Web programming will give you a quick and broad overview of the kinds of things you can do with Python on the Internet, from Web surfing to creating user feedback forms, from recognizing URLs to generating dynamic Web page output. We’ll ...

Get Core Python Applications Programming, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.