<div dir="ltr">Hello guys,<br><br>I have a program which is run through command line .I am trying to create another command line tools which controls this program.<br>So for example in my new program when i give<br><br>newprog -a then it should invoke the existing tool and perform one of its <a href="http://operation.eg">operation.eg</a> existtprog -s<br>
<br>How could this be done in python? Optparse can be used to make the new tool but what should be done to control the existing tool from the new tool?<br><br>Thanks in advance.<br><br>Aditya<br><br><br><br><br></div>