Python has become the de facto standard for network automation. Many network engineers already use it on a daily basis to automate networking tasks, from configuration, to operation, to troubleshooting network problems. In this chapter, we will visit one of the advanced topics in Python: scratching the surface of Python's multiprocessing nature and learning how to use it to accelerate script execution time.
We will cover the following topics in this chapter:
- How Python code is executed in an OS
- The Python multiprocessing library