tclInterp
index
tclInterp.py

interface to Xplor-NIH's TCL interpreter
 
constructor: TCLInterp( TCL_Interp )
  create a TCLInterp object given a pre-existing TCL_Interp pointer.
  If the argument is omitted, the default interp is used.
 
member functions:
 
  command(cmd,inVars,outVars) -
     execute the TCL command cmd. 
     inVars is an optional sequence of (name,value) tuples, with name
        the name of a TCL variable and value the value to set it, before cmd
        is executed
     outVars is an optional sequence of TCL 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 TCL variables.
 
    See python/tests/tclTest.py for examples of use.
 
 
static functions:
 
  defaultInterp() - return the default TCL_Interp.
 
 

 
Classes
       
__builtin__.object
TCLInterp
TCLInterpPtr

 
class TCLInterp(__builtin__.object)
     Methods defined here:
__del__(self, destroy=<built-in function delete_TCLInterp>)
__getattr__ lambda self, name
__init__(self, *args)
__repr__(self)
__setattr__ lambda self, name, value
command(*args)

Static methods defined here:
defaultInterp = TCLInterp_defaultInterp(...)
init = TCLInterp_init(...)

Data and other attributes defined here:
__dict__ = <dictproxy object at 0x1293590>
dictionary for instance variables (if defined)
__swig_getmethods__ = {'defaultInterp': <function <lambda> at 0x1290398>, 'init': <function <lambda> at 0x1290410>}
__swig_setmethods__ = {}
__weakref__ = <attribute '__weakref__' of 'TCLInterp' objects>
list of weak references to the object (if defined)

 
class TCLInterpPtr(TCLInterp)
    
Method resolution order:
TCLInterpPtr
TCLInterp
__builtin__.object

Methods defined here:
__init__(self, this)

Methods inherited from TCLInterp:
__del__(self, destroy=<built-in function delete_TCLInterp>)
__getattr__ lambda self, name
__repr__(self)
__setattr__ lambda self, name, value
command(*args)

Static methods inherited from TCLInterp:
defaultInterp = TCLInterp_defaultInterp(...)
init = TCLInterp_init(...)

Data and other attributes inherited from TCLInterp:
__dict__ = <dictproxy object at 0x1293478>
dictionary for instance variables (if defined)
__swig_getmethods__ = {'defaultInterp': <function <lambda> at 0x1290398>, 'init': <function <lambda> at 0x1290410>}
__swig_setmethods__ = {}
__weakref__ = <attribute '__weakref__' of 'TCLInterp' objects>
list of weak references to the object (if defined)

 
Functions
       
TCLInterp_defaultInterp(...)
TCLInterp_init(...)
help(...)