288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
|
def load (sContext="Python"):
global _oDict
global _sAppContext
global _dOptions
try:
_oDict = IBDAWG("${dic_name}.bdic")
_sAppContext = sContext
_dOptions = dict(gc_options.getOptions(sContext)) # duplication necessary, to be able to reset to default
except:
traceback.print_exc()
def setOption (sOpt, bVal):
|
|
| 288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
|
def load (sContext="Python"):
global _oDict
global _sAppContext
global _dOptions
try:
_oDict = IBDAWG("${dic_filename}.bdic")
_sAppContext = sContext
_dOptions = dict(gc_options.getOptions(sContext)) # duplication necessary, to be able to reset to default
except:
traceback.print_exc()
def setOption (sOpt, bVal):
|