# Command Line Interface Libraries

The modules described in this chapter assist with implementing command line and terminal interfaces for applications.

Here's an overview:

- `argparse` --- 用于命令行选项、参数和子命令的解析器
- `optparse` --- 命令行选项的解析器
- `getpass` --- 可移植的密码输入
- `fileinput` --- 迭代来自多个输入流的行
- `curses` --- 字符单元显示的终端处理
- `curses.textpad` --- 用于 curses 程序的文本输入控件
- `curses.ascii` --- 用于 ASCII 字符的工具
- `curses.panel` --- 针对 curses 的面板栈扩展