推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
Livid
403.84D
566.45D
V2EX  ›  Python

Python 里除了 multiprocessing,还有什么比较好用的多线程库吗?

  •  
  •   Livid ·
    PRO
    · Dec 24, 2018 · 2811 views
    This topic created in 2873 days ago, the information mentioned may be changed or developed.
    7 replies  •  2018-12-27 09:09:53 +08:00
    Phant0m
    Phant0m
    Dec 24, 2018 via iPhone
    1
    mulitprocessing 不是多进程吗
    leavic
    leavic
    Dec 24, 2018
    2
    threading?
    lance6716
    lance6716
    Dec 24, 2018
    3
    同求
    Seahurt
    Seahurt
    Dec 25, 2018 via iPhone❤️2
    4
    multiprocessing.dummy 提供了跟调用进程类似的调用线程的接口,底层还是基于 threading。py3.6 提供给了 concurrent 包,提供了更易于使用的多进程和多线程的功能,具体看官方文档
    fankcoder
    fankcoder
    Dec 25, 2018
    5
    from concurrent.futures import ThreadPoolExecutor
    from concurrent.futures import ProcessPoolExecutor
    Vanquish5419
    Vanquish5419
    Dec 25, 2018
    6
    多线程 or 进程?多进程运算我一般用 dask
    yzc27
    yzc27
    Dec 27, 2018
    7
    concurrent.futures
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4343 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 09:35 · PVG 17:35 · LAX 01:35 · JFK 04:35
    ♥ Do have faith in what you're doing.