cape.console: Console and Prompt Tools¶
This module provides tools to interact with user prompts. In contains a
function prompt_color() that handles the Python version dependence
(input() vs raw_input()) and also provides a colorful
prompt.
- cape.console.prompt_color(txt, vdef=None, color='green')¶
Get user input using a colorized prompt