Examples and source code for this chapter are available in the GitHub repository in the chapter7 folder:
https://github.com/PacktPublishing/Mastering-Python-for-Networking-and-Security.
In this chapter, examples are compatible with Python 3.
This chapter requires quite a few third-party packages and Python modules, such as ftplib, Paramiko, pxssh and PySNMP. You can use your operating system's package management tool for installing them. Here's a quick how-to on installing these modules in an Ubuntu Linux operating system with Python 3. We can use the following pip3 and easy_install3 commands:
- sudo apt-get install python3
- sudo [pip3|easy_install3] ftplib
- sudo [pip3|easy_install3] paramiko
- sudo [pip3|easy_install3] pysnmp