':type group_id: int, çšäºè¯»åæå®çŸ€çåæ§œå­æ¡£'

def load(self, group_id):

    global TUCAO_PATH
    if (str(group_id) in set(self.tucao_dict.keys())):
        return
    tucao_file_path = ((TUCAO_PATH + str(group_id)) + '.tucao')
    if (not os.path.isdir(TUCAO_PATH)):
        os.makedirs(TUCAO_PATH)
    if (not os.path.exists(tucao_file_path)):
        with open(tucao_file_path, 'w') as tmp:
            tmp.close()
    with open(tucao_file_path, 'rb') as tucao_file:
        try:
            self.tucao_dict[str(group_id)] = cPickle.load(tucao_file)
            logger.info('RUNTIMELOG    tucao    loaded.    Now    tucao    list:        {0}'.format(str(self.tucao_dict)))
        except EOFError:
            self.tucao_dict[str(group_id)] = dict()
            logger.info('RUNTIMELOG    tucao    file    is    empty.')
