public class JythonInteractiveConsole
extends org.python.util.InteractiveConsole
Constructor and Description |
---|
JythonInteractiveConsole(boolean usingJLine) |
Modifier and Type | Method and Description |
---|---|
void |
executeScript(java.lang.String fileName) |
void |
interact(java.lang.String banner,
org.python.core.PyObject file) |
static void |
main(java.lang.String[] args) |
java.lang.String |
raw_input(org.python.core.PyObject prompt) |
void |
runcode(org.python.core.PyObject code) |
_interact, getDefaultBanner, interact, push, raw_input
interrupt, resetbuffer, runsource, runsource, runsource, showexception, write
cleanup, close, 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
public void executeScript(java.lang.String fileName) throws java.io.IOException
java.io.IOException
public void interact(java.lang.String banner, org.python.core.PyObject file)
interact
in class org.python.util.InteractiveConsole
public java.lang.String raw_input(org.python.core.PyObject prompt)
raw_input
in class org.python.util.InteractiveConsole
public void runcode(org.python.core.PyObject code)
runcode
in class org.python.util.InteractiveInterpreter
public static void main(java.lang.String[] args)