My work should use parallel techniques, and I a new user of python. So I wonder if you could share some material about the python multiprocessing
and subp
If you want to call an external program (especially one not written in Python) use subprocess
.
If you want to call a Python function in a subprocess, use multiprocessing
.
(If the program is written in Python, but is also importable, then I would try to call its functions using multiprocessing
, rather than calling it externally through subprocess
.)