O'Reilly logo

Learning Python Network Programming by Sam Washington, Dr. M. O. Faruque Sarker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9. Applications for the Web

In Chapter 2, HTTP and Working with the Web, we explored the HTTP protocol—the primary protocol used by the World Wide Web—and we learned how to use Python as an HTTP client. In Chapter 3, APIs in Action, we expanded on this and looked at ways to consume web APIs. In this chapter, we'll be turning our focus around and looking at how we can use Python to build applications that serve responses to HTTP requests.

In this chapter, we'll cover the following:

  • Python web frameworks
  • A Python web application
  • Hosting Python and WSGI

I should note up front that hosting modern web applications is a very large topic, and a complete treatment is well beyond the scope of this book, where we're focusing on applying Python code to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required