| 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,
           Object globals,
           Object locals)Executes Python source code in the context specified by the  globalsandlocalsmaps. | 
| 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  globalsandlocalsmaps. | 
Copyright © 2014–2022 Brockmann Consult GmbH. All rights reserved.