System Programming Packages
In this chapter, we continue to move forward with learning about the different ways to interact with the operating system (OS) and the filesystem. The knowledge you will 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 operating and filesystem. Also, we will review how to work with the subprocess module for command execution. Finally, we’ll review thread management and other modules for multithreading and concurrency. The following topics will be covered in this chapter:
- Interact with the OS in Python
- Work with the file system in Python
- Executing commands with the subprocess module
- Work with threads in Python
- Multithreading and concurrency in Python