15 Python programs as network servers
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
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 ...