Python: How to run a command line within python? » Linux by Examples
I guess there is a module called “commands” which can do this operation and return the status and the output of any command. http://docs.python.org/lib/module-commands.html This is quite simple than the popen functions.
linux.byexamples.com |