类 MyPythonInterpreter

  • 所有已实现的接口:
    Closeable, AutoCloseable

    public class MyPythonInterpreter
    extends org.python.util.PythonInterpreter
    作者:
    yaqiang
    • 字段概要

      • 从类继承的字段 org.python.util.PythonInterpreter

        cflags, systemState, threadLocals, useThreadLocalState
    • 构造器详细资料

      • MyPythonInterpreter

        public MyPythonInterpreter()
        Constructor
      • MyPythonInterpreter

        public MyPythonInterpreter​(org.python.core.PyObject obj,
                                   org.python.core.PySystemState state)
        Constructor
        参数:
        obj - PyObject
        state - State
    • 方法详细资料

      • execfile

        public void execfile​(InputStream s)
        覆盖:
        execfile 在类中 org.python.util.PythonInterpreter
      • execfile

        public void execfile​(String fn)
        覆盖:
        execfile 在类中 org.python.util.PythonInterpreter