The modules described in this chapter assist with implementing command line and terminal interfaces for applications.
Here’s an overview:
argparse — Parser for command-line options, arguments and subcommandsoptparse — Parser for command line optionsgetpass — Portable password inputfileinput — Iterate over lines from multiple input streamscurses — Terminal handling for character-cell displayscurses.textpad — Text input widget for curses programscurses.ascii — Utilities for ASCII characterscurses.panel — A panel stack extension for cursescmd — Support for line-oriented command interpreters