Python Thread For Human
Project description
Eleves -- Python Threading For Human
Installation:
pip install elves
easy_install elves
Usage:
import elves
threads_num = 10
def do_something(msg):
#do something
print msg
#this will run threads_num threads
elves.run(threads_num)
for i in range(100):
elves.put(i)
elves.join()
Installation:
pip install elves
easy_install elves
Usage:
import elves
threads_num = 10
def do_something(msg):
#do something
print msg
#this will run threads_num threads
elves.run(threads_num)
for i in range(100):
elves.put(i)
elves.join()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
elves-0.0.1.tar.gz
(1.1 kB
view hashes)