System Programming Packages

Throughout this chapter, we will look at the main modules we can find in Python for working with the Python interpreter, the operating system, and executing commands. We will review how to work with the file system, reading, and creating files. Also, we'll review threads-management and other modules for multithreading and concurrency. We'll end this chapter with a review about the socket.io module for implementing asynchronous servers.

The following topics will be covered in this chapter:

  • Introducing system modules in Python
  • Working with the filesystem
  • Threads in Python
  • Multithreading and concurrency in Python
  • Python Socket.io

Get Mastering Python for Networking and Security 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.