Tag Archives: ipaddress python

[python]Extension to validate ip address

On previous post I have written a sample code to validate ip address using the ipaddress module. The sample code is further extended to check for subnets. Algorithm 1. Get user’s ip_address. 2. IF ip_address does not have ‘/’ or … Continue reading

Posted in Python, Scripting | Tagged , , , | Leave a comment