In this section we review the python-nmap module for port scanning in Python. We will learn how the python-nmap module uses Nmap and how it is a very useful tool for optimizing tasks regarding discovery services in a specific target (domain, network, or IP address).