Modifier and Type | Method and Description |
---|---|
static PyInputMode |
PyInputMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PyInputMode[] |
PyInputMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static PyObject |
PyObject.executeCode(String code,
PyInputMode mode)
Executes Python source code.
|
static PyObject |
PyObject.executeCode(String code,
PyInputMode mode,
Map<String,Object> globals,
Map<String,Object> locals)
Executes Python source code in the context specified by the
globals and locals maps. |
Copyright © 2014–2017 Brockmann Consult GmbH. All rights reserved.