aditya shukla wrote:

I have a program which is run through command line .I am trying to create another command line tools which controls this program.
So for example in my new program when i give

newprog -a then it should invoke the existing tool and perform one of its operation.eg <http://operation.eg> existtprog -s

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?

http://docs.python.org/lib/module-subprocess.html ?

</F>

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to