cmd — Line-oriented Command Processors — PyMOTW 3
The cmd module contains one public class, Cmd , designed to be used as a base class for interactive shells and other command interpreters. By default it uses readline for interactive prompt handling, command line editing, and command completion.
This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.