Port-Scan Scanning Port Via Python ! This python code can help you scan open ports on the target host.