Category python

Converting a netmask to CIDR with vanilla python

On a quick note: I wasn’t able to find a simple solution to convert a classicly formated netmask to a CIDR format in python.