Part IV. Internet Programming

This part of the book explores Python’s role as a language for programming Internet-based applications, and its library tools that support this role. Along the way, system and GUI tools presented earlier in the book are put to use as well. Because this is a popular Python domain, chapters here cover all fronts:

Chapter 13, Network Scripting

This chapter introduces Internet concepts, presents Python low-level network communication tools such as sockets and select calls, and illustrates common client/server programming techniques in Python.

Chapter 14, Client-Side Scripting

This chapter shows you how your scripts can use Python to access common client-side network protocols like FTP, email, HTTP, and more. We’ll also build email tools here that we’ll reuse in later chapters.

Chapter 15, The PyMailGUI Client

This chapter uses the client-side email tools introduced in the prior chapter, as well as the GUI techniques of the prior part, to implement a full-featured email application and to cover larger program concepts.

Chapter 16, Server-Side Scripting

This chapter introduces the basics of Python server-side Common Gateway Interface (CGI) scripts—a kind of program used to implement interactive web sites.

Chapter 17, The PyMailCGI Server

This chapter demonstrates Python web site implementation techniques such as security, by presenting a complete web-based email system. Part of our goal here is to compare and contrast with the client-side PyMailGUI program.

Chapter ...

Get Programming Python, 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.