Package tkintertable :: Module TableFormula :: Class Formula
[hide private]
[frames] | no frames]

Class Formula

source code

object --+
         |
        Formula

A class to handle formulas functionality in the table

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]
 
isFormula(cls, rec)
Evaluate the cell and return true if its a formula
source code
 
getFormula(cls, rec)
Get the formula field string
source code
 
readExpression(cls, expr)
Get the operands and operators into lists from a string expression
source code
 
doExpression(cls, vals, ops, getvalues=True)
Create an expression string from provided operands and operators
source code
 
doFormula(cls, cellformula, data)
Evaluate the formula for a cell and return the result takes a formula dict or just the string as input
source code
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)