Note
This documentation is for a development version of IPython. There may be significant differences from the latest stable release (0.13.2).
Utility functions for interacting with the console
Prompt the user for input.
The input command will change depending on the version of python installed. To maintain support for 2 and earlier, we must use raw_input in that case. Else use input.
Parameters : | prompt_text : str
|
---|
Prompt the user for a boolean response.
Parameters : | prompt : str
default : bool, optional
|
---|
Prompt the user to chose one of many selections from a menu.
Parameters : | choices : dictionary
default_style : int, optional
menu_comments : dictionary, optional
|
---|