摘要: from multiprocessing import Pool def double(x): print(x**2) return x**2 if __name__ == '__main__': pool = Pool() pool.map(double, list(range(11))) pri 阅读全文
posted @ 2023-11-04 21:55 ty1539 阅读(96) 评论(0) 推荐(0) 编辑