标签: python multithreading multiprocessing
我需要并行运行多个搜索功能,并将搜索结果合并到一个字典中。就像这样:
def search1(key): ........... search_result = {} ........... return search_result def search2(key): ........... search_result = {} ........... return search_result
提前致谢。