Hyunchul Kim wrote:
Hi, all
How to run multiple processes with sequential input of a thousand of
data in a script run?
I have a python script and 1,000 independent input data for it.
Previously, I divided input data into/ n/ groups and ran a same
python script /n/ times to use /n/ processors.
It's inconvenient.
How can I do same thing in a signle script running?
Thank you in advance,
Hyunchul
Use the subprocess module in your main program to start n subprocesses
and feed each its portion of the data.
Gary Herron
--
http://mail.python.org/mailman/listinfo/python-list