安装:
pip install threadpool
使用实例:
# -*- coding: utf-8 -*- import threadpool def hello(a): return 'hello: %s' % a def world(a, b): return 'world: %s, %s' % (a, b) def foobar(a, b, c): return 'foobar: %s, %s, %s' % (a, b, c) def
安装:
pip install threadpool
使用实例:
# -*- coding: utf-8 -*- import threadpool def hello(a): return 'hello: %s' % a def world(a, b): return 'world: %s, %s' % (a, b) def foobar(a, b, c): return 'foobar: %s, %s, %s' % (a, b, c) def