Hi Tutors,<br><br>I want to use python to finish some routine data processing tasks automatically (on Windows).<br><br>The main task could be split to sub small tasks. Each can be done by executing some small tools like &quot;awk&quot; or by some other python scripts.<br>

One example of such task is conducting a data processing job, including:<br><ol><li>use tool-A to produce some patterns.</li><li>feed tool-B with these patterns to mine more related data <br></li><li>repeat these tasks circularly until meeting some conditions.</li>

</ol>The real task includes more tools which run in parallel or sequential manner.<br><br>I know how to do this with modules like subprocess, but the final python program looks somewhat messy and hard to adapt for changes.<br>

<br>Do you have any best practices on this?<br><br>Thanks a lot,<br>Danny<br>