类 MyPythonInterpreter

  • 所有已实现的接口:
    java.io.Closeable, java.lang.AutoCloseable

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

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

        cflags, systemState, threadLocals, useThreadLocalState
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      void execfile​(java.io.InputStream s)  
      void execfile​(java.lang.String fn)  
      • 从类继承的方法 org.python.util.PythonInterpreter

        cleanup, close, compile, compile, compile, compile, eval, eval, exec, exec, execfile, get, get, getLocals, getSystemState, initialize, set, set, setErr, setErr, setErr, setIn, setIn, setIn, setLocals, setOut, setOut, setOut, setSystemState, threadLocalStateInterpreter
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • 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​(java.io.InputStream s)
        覆盖:
        execfile 在类中 org.python.util.PythonInterpreter
      • execfile

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