public class python extends python
Constructor and Description |
---|
python() |
Modifier and Type | Method and Description |
---|---|
static void |
Py_AddPath(File... path)
Effectively calls
Py_SetPath(path, Py_GetPath()) , for convenience. |
static void |
Py_AddPath(String... path)
Effectively calls
Py_SetPath(path, Py_GetPath()) , for convenience. |
static String |
Py_GetPathString() |
static boolean |
Py_Initialize(File... path)
Effectively returns
Py_IsInitialized() != 0 after calling
Py_SetPythonHome(cachePackage()); Py_InitializeEx(0); PySys_SetPath(path) , for convenience. |
static boolean |
Py_Initialize(String... path)
Effectively returns
Py_IsInitialized() != 0 after calling
Py_SetPythonHome(cachePackage()); Py_InitializeEx(0); PySys_SetPath(path) , for convenience. |
static void |
Py_SetPath(File... path) |
static void |
Py_SetPath(String... path) |
static void |
PySys_SetPath(File... path) |
static void |
PySys_SetPath(String... path) |
cachePackage, cachePackages, map
public static String Py_GetPathString()
public static void Py_SetPath(File... path) throws IOException
IOException
public static void Py_SetPath(String... path) throws IOException
IOException
public static void Py_AddPath(File... path) throws IOException
Py_SetPath(path, Py_GetPath())
, for convenience.IOException
public static void Py_AddPath(String... path) throws IOException
Py_SetPath(path, Py_GetPath())
, for convenience.IOException
public static void PySys_SetPath(File... path) throws IOException
IOException
public static void PySys_SetPath(String... path) throws IOException
IOException
public static boolean Py_Initialize(File... path) throws IOException
Py_IsInitialized() != 0
after calling
Py_SetPythonHome(cachePackage()); Py_InitializeEx(0); PySys_SetPath(path)
, for convenience.IOException
public static boolean Py_Initialize(String... path) throws IOException
Py_IsInitialized() != 0
after calling
Py_SetPythonHome(cachePackage()); Py_InitializeEx(0); PySys_SetPath(path)
, for convenience.IOException
Copyright © 2024. All rights reserved.