org.python.util
Class ReadlineConsole
java.lang.Object
org.python.util.PythonInterpreter
org.python.util.InteractiveInterpreter
org.python.util.InteractiveConsole
org.python.util.ReadlineConsole
- public class ReadlineConsole
- extends InteractiveConsole
| Methods inherited from class org.python.util.PythonInterpreter |
cleanup, eval, exec, exec, execfile, execfile, execfile, get, get, getLocals, initialize, set, set, setErr, setErr, setErr, setLocals, setOut, setOut, setOut |
filename
public String filename
ReadlineConsole
public ReadlineConsole()
ReadlineConsole
public ReadlineConsole(PyObject locals)
ReadlineConsole
public ReadlineConsole(PyObject locals,
String filename)
raw_input
public String raw_input(PyObject prompt)
- Write a prompt and read a line.
The returned line does not include the trailing newline. When the
user enters the EOF key sequence, EOFError is raised.
This subclass implements the functionality using JavaReadline.
- Overrides:
raw_input in class InteractiveConsole