Chapter 2: System Programming Packages
In this chapter, we continue to move forward with learning about the different ways we have to interact with the operating system and the filesystem. The knowledge you gain from this chapter about the different programming packages will prove to be very useful in automating certain tasks that can increase the efficiency of our scripts.
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 filesystem when reading and creating files. Also, we’ll review thread management and other modules for multithreading and concurrency. We’ll end this chapter with a review of 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 in Python
- Managing threads...