Beispiel #1
0
 def write_out_dynamic_var_in_dict_file(self):
     f = open("out_dynamic_var_in_dict_file","w", get_def_enc())
     for dc in self.dict_classes:
         f.write(dc.getDynamicVarInDict())
     f.close()
Beispiel #2
0
 def write_out_var_in_class_dict_file(self):
     f = open("out_var_in_class_dict_file","w", get_def_enc())
     for dc in self.dict_classes:
         f.write(dc.getVarInClassDict())
     f.close()
Beispiel #3
0
 def __init__(self):
     f = open("in_file","r", get_def_enc())
     for line in f.readlines():
         dc = DictClass(line)
         self.dict_classes.append(dc)
     f.close()