Modifier and Type | Class and Description |
---|---|
class |
PyModule
Represents a Python module.
|
Modifier and Type | Method and Description |
---|---|
PyObject |
PyObject.call(String name,
Object... args)
Call the callable Python object with the given name and arguments.
|
PyObject |
PyObject.callMethod(String name,
Object... args)
Call the callable Python method with the given name and arguments.
|
static PyObject |
PyObject.executeCode(String code,
PyInputMode mode)
Executes Python source code.
|
static PyObject |
PyObject.executeCode(String code,
PyInputMode mode,
Object globals,
Object locals)
Executes Python source code in the context specified by the
globals and locals maps. |
static PyObject |
PyObject.executeScript(String script,
PyInputMode mode)
Executes Python source script.
|
static PyObject |
PyObject.executeScript(String script,
PyInputMode mode,
Object globals,
Object locals)
Executes Python source script in the context specified by the
globals and locals maps. |
static PyObject |
PyModule.extendSysPath(String modulePath,
boolean prepend)
Extends Python's 'sys.path' variable by the given module path.
|
PyObject |
PyDictWrapper.get(Object key) |
PyObject |
PyDictWrapper.get(String key)
An extension to the Map interface that allows the use of String keys without generating warnings.
|
PyObject |
PyObject.getAttribute(String name)
Gets the Python value of a Python attribute.
|
static PyObject |
PyLib.getMainGlobals() |
PyObject |
PyObject.getType()
Gets the Python type object for this wrapped object.
|
PyObject |
PyDictWrapper.put(PyObject key,
PyObject value) |
PyObject |
PyDictWrapper.putObject(Object key,
Object value)
An extension to the Map interface that allows the use of Object key-values without generating warnings.
|
PyObject |
PyDictWrapper.remove(Object key) |
PyObject |
PyDictWrapper.remove(String key) |
PyObject |
PyDictWrapper.unwrap()
Gets the underlying PyObject.
|
Modifier and Type | Method and Description |
---|---|
List<PyObject> |
PyObject.asList() |
Set<Map.Entry<PyObject,PyObject>> |
PyDictWrapper.entrySet() |
Set<Map.Entry<PyObject,PyObject>> |
PyDictWrapper.entrySet() |
Set<PyObject> |
PyDictWrapper.keySet() |
Collection<PyObject> |
PyDictWrapper.values() |
Modifier and Type | Method and Description |
---|---|
PyObject |
PyDictWrapper.put(PyObject key,
PyObject value) |
Modifier and Type | Method and Description |
---|---|
void |
PyDictWrapper.putAll(Map<? extends PyObject,? extends PyObject> m) |
void |
PyDictWrapper.putAll(Map<? extends PyObject,? extends PyObject> m) |
Copyright © 2014–2020 Brockmann Consult GmbH. All rights reserved.