yield學習筆記

參考:http://www.dabeaz.com/finalgenerator/ from concurrent.futures import ThreadPoolExecutor import time pool = ThreadPoolExecutor(max_workers=8) def func(x, y): time.sleep(5) return x, y def
相關文章
相關標籤/搜索