Thursday, 3 October 2013

python to run simultaneously

python to run simultaneously

I am trying to create 86 instances of task.py to run simultaniously. any
help please.
import sys
import subprocess
for file in range(86):
subprocess.call([sys.executable,'task.py',str(file)+'in.csv',str(filen)+'out.csv'])

No comments:

Post a Comment