pyInterp
index

Interface to Xplor-NIH's Python interpreter
 
constructor: PyInterp( PyInterp )
  create a PyInterp object given a pre-existing PyInterp pointer.
  If the argument is omitted, the default interpreter is used.
 
member functions:
 
  command(cmd,inVars,outVars) -
     execute the Python command cmd. 
     inVars is an optional sequence of (name,value) tuples, with name
        the name of a Python variable and value the value to set it, before 
        cmd is executed.
     outVars is an optional sequence of Python variable names to retrieve
        after cmd is executed
     the return value is a dictionary whose keys correspond to the
        names entered in outVars, and whose values have been set by
        the corresponding Python variables.
 
 
static functions:
 
  portableStringRep(obj) - Return a String representation of a SWIG-wrapped
                           object which can be then be used in an alternate
                           interpreter to access the object. This is used by
                           the TCL interface to access objects in the Python
                           interface.
  fromStringRep(str)     - Convert the string str (obtained from
                           portableStringRep) to a Python object. This object
                           will not delete the underlying C++ object when it
                           is deleted.
 
 
 
 
 
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 4.0.2
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.

 
Classes
       
builtins.object
PyInterp

 
class PyInterp(builtins.object)
    PyInterp(*args, **kwargs)
 

 
  Methods defined here:
__init__(self, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__repr__ = _swig_repr(self)
addEndFunction(self, *args, **kwargs) -> 'void'
command(self, *args, **kwargs) -> 'int'
pyXplorHelp(self, *args, **kwargs) -> 'String'
setTraceLevel(self, *args, **kwargs) -> 'void'
shell(self, *args, **kwargs) -> 'int'
traceLevel(self, *args, **kwargs) -> 'int'

Static methods defined here:
__swig_destroy__ = delete_PyInterp(...)
init(*args, **kwargs) -> 'void'

Data descriptors defined here:
__dict__

 
dictionary for instance variables (if defined)
__weakref__

 
list of weak references to the object (if defined)
exitStatus

 
thisown

 
The membership flag

 
Functions
       
PyInterp_init(*args, **kwargs) -> 'void'
fromStringRep(*args, **kwargs) -> 'PyObject *'
portableStringRep(*args, **kwargs) -> 'PyObject *'
pyXplorHelp(*args) -> 'String'