commands is a standard Python module. Please see the documentation at
www.python.org
.