15 Python programs as network servers

Image

What you will learn

In this chapter, you’ll learn how to create a Python program that will act as a server for network clients. You’ll also discover how to make a Python program that responds to posts from users, and you’ll create your first web application. This chapter will get you started creating solutions that use the web.

Create a web server in Python

Host Python applications on the web

What you have learned

Create a web server in Python

The web works by using socket network connections, just like those we created in Chapter 14. When we use a browser to connect to a web server, the basis of the communication ...

Get Begin to Code with Python now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.