conversion of scipy recipy from https://github.com/scipy/scipy-cookbook from python2 to python3
Project description
Acknowledgement to original python 2 of handythread in https://github.com/scipy/scipy-cookbook/blob/master/ipython/attachments/Multithreading/handythread.py
simple code snippet
from handythread import foreach
array_to_update = list(range(10))
def f(x):
array_to_update[x] += 1
print (x)
time.sleep(0.2)
foreach(f,range(10))
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
handythread3-0.0.2.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for handythread3-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a1befe450d61bd44af712bae1775d18b7712074efb4d70e6f7c11530e960fe6 |
|
MD5 | 05097bf362a23c41450da5570c5c0de0 |
|
BLAKE2b-256 | c442e75b2fbb077e12e36f8067119217fbfae0ca03b7638285e5b90d32ebf0b1 |