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 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.