org.python.util
public class ReadlineConsole extends InteractiveConsole
| Field Summary | |
|---|---|
| String | filename |
| Constructor Summary | |
|---|---|
| ReadlineConsole() | |
| ReadlineConsole(PyObject locals) | |
| ReadlineConsole(PyObject locals, String filename) | |
| Method Summary | |
|---|---|
| String | raw_input(PyObject prompt)
Write a prompt and read a line.
|
| static String | _raw_input(PyObject[] args, String[] kws)
Central point of dispatch to Readline library for all clients,
whether the console itself or others like cmd.Cmd interpreters.
|
Parameters: args should contain a single prompt kws keywords
Returns: the user input