You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
_global_dict = {}
|
|
|
|
def set_value(name, value):
|
|
global _global_dict
|
|
_global_dict[name] = value
|
|
|
|
def get_value(name, defValue=None):
|
|
global _global_dict
|
|
try:
|
|
return _global_dict[name]
|
|
except KeyError:
|
|
return defValue |