Latest recipes tagged "subnetmask"http://code.activestate.com/recipes/tags/subnetmask/new/2008-09-03T02:11:01-07:00ActiveState Code RecipesConvert Subnetmask from CIDR notation to dot.decimal form (Python)
2008-09-03T02:11:01-07:00gerontosepphttp://code.activestate.com/recipes/users/4166887/http://code.activestate.com/recipes/576483-convert-subnetmask-from-cidr-notation-to-dotdecima/
<p style="color: grey">
Python
recipe 576483
by <a href="/recipes/users/4166887/">gerontosepp</a>
(<a href="/recipes/tags/ip/">ip</a>, <a href="/recipes/tags/subnetmask/">subnetmask</a>, <a href="/recipes/tags/tcp/">tcp</a>).
Revision 2.
</p>
<p>How to convert the CIDR notation (192.168.0.0/24) of a subnetmask to the dotted decimal form (255.255.255.0).</p>