def BVmain(): global tt, gl, cv, db, vars, page import Tkinter tt = Tkinter import ndsClass gl = ndsClass.nds('gl') import StrnumClass cv = StrnumClass.strnum() import SQClass db = SQClass.SQC('berta') vars = [] page = tt.Tk() page.geometry('600x400+350+70') # wdt,leng+?+?
# file b-br.py """ disp for bundles the rules pja 02-06-2017 pja 02-04-2017 org -- """ # imports from Tkinter import * import ndsClass gl = ndsClass.nds('gl') import StrnumClass cv = StrnumClass.strnum() import SQClass db = SQClass.SQC('berta') # nds globals RuleAR = {} ROW = 0 gl.bang('RuleAR', RuleAR) gl.bang('ROW', ROW) # support functions def loadBundle(box): # stump - load from database ab = db.SQReadAll('select * from bundle;') # bid,cold,ready abmax = ab.__len__() for j in range(0, abmax): bid = ab.__getitem__(0) box.insert(END, bid) #end for
def pd3tst_init(self,objj,trace): retbox = [0,objj,trace] if trace == 1: xx = raw_input ( 'begin pd3tst_init ') # endif objj['c'] = {} # class store objj['v'] = {} # vector array import simpleVectorStk # push pop rtns objj = simpleVectorStk.main(objj) # assume objj={} on entry # add nds import ndsClass objj['nds'] = ndsClass.nds('var') import simpleStk objj['es'] = simpleStk.Stk() # Imports and Vector setting import v_DLunk objj['v']["$unk"] = v_DLunk.main # objj,trace import v_EQEQGT objj['v']["==>"] = v_EQEQGT.main # objj,trace import v_UBUBBG objj['v']["__!"] = v_UBUBBG.main # objj,trace import v_UBUBAT objj['v']["__@"] = v_UBUBAT.main # objj,trace import v_pd3tst_SLSL7SLSL61SLSL objj['v']["//7//61//"] = v_pd3tst_SLSL7SLSL61SLSL.main # objj,trace import v_DLhello objj['v']["$hello"] = v_DLhello.main # objj,trace import v_DLbox objj['v']["$box"] = v_DLbox.main # objj,trace import v_UBUBmsg objj['v']["__msg"] = v_UBUBmsg.main # objj,trace import v_DLafterSPcall objj['v']["$after call"] = v_DLafterSPcall.main # objj,trace import v_DLtestSPmsg objj['v']["$test msg"] = v_DLtestSPmsg.main # objj,trace import v_EQEQFoo objj['v']["==Foo"] = v_EQEQFoo.main # objj,trace import v_clearNds objj['v']["clearNds"] = v_clearNds.main # objj,trace import v_UBUBcallend objj['v']["__callend"] = v_UBUBcallend.main # objj,trace import v_DLitsSPfoo objj['v']["$its foo"] = v_DLitsSPfoo.main # objj,trace import v_EQEQChoo objj['v']["==Choo"] = v_EQEQChoo.main # objj,trace return(retbox)