Skip to content
Snippets Groups Projects
Commit 7205826a authored by David Beniamine's avatar David Beniamine
Browse files

Update Readme.md

parent 2efbe83f
No related branches found
No related tags found
No related merge requests found
...@@ -10,10 +10,11 @@ Do a parallel map(func, tasks) with numProc processes ...@@ -10,10 +10,11 @@ Do a parallel map(func, tasks) with numProc processes
## How to use ## How to use
```python ```python
from pyParallelRunAndWrite import parallelRunAndWrite as prw
# The following dependencies are only useful for testFunc
import os import os
from time import sleep from time import sleep
from random import randint from random import randint
from pyParallelRunAndWrite import parallelRunAndWrite as prw
def testFunc(arg): def testFunc(arg):
ret=str(arg)+str(os.getpid()) ret=str(arg)+str(os.getpid())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment