Subcalc is a small Python program I wrote as a free assigment during a Python class at EC Utbildning. The program takes a netmask in slash notation as argument and gives back the netmask in dotted decimal notation.
Usage: subcalc.py <netmask in slash-notation>
Example: subcalc.py 24
Subcalc is made by Jack-Benny Persson and is released under GNU GPL version 2.