|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.python.util.PythonInterpreter
org.python.util.InteractiveInterpreter
org.python.util.InteractiveConsole
org.python.util.ReadlineConsole
public class ReadlineConsole
Uses: Java Readline
Based on CPython-1.5.2's code module
Field Summary | |
---|---|
String |
filename
|
Fields inherited from class org.python.util.InteractiveConsole |
---|
CONSOLE_FILENAME |
Fields inherited from class org.python.util.InteractiveInterpreter |
---|
buffer |
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. |
Methods inherited from class org.python.util.InteractiveConsole |
---|
getDefaultBanner, interact, interact, push, raw_input |
Methods inherited from class org.python.util.InteractiveInterpreter |
---|
interrupt, resetbuffer, runcode, runsource, runsource, runsource, showexception, write |
Methods inherited from class org.python.util.PythonInterpreter |
---|
cleanup, compile, compile, compile, compile, eval, eval, exec, exec, execfile, execfile, execfile, get, get, getLocals, getSystemState, initialize, set, set, setErr, setErr, setErr, setIn, setIn, setIn, setLocals, setOut, setOut, setOut, threadLocalStateInterpreter |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public String filename
Constructor Detail |
---|
public ReadlineConsole()
public ReadlineConsole(PyObject locals)
public ReadlineConsole(PyObject locals, String filename)
Method Detail |
---|
public String raw_input(PyObject prompt)
raw_input
in class InteractiveConsole
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |