the commands module is perfect for this job, more information about it in here: <a href="http://docs.python.org/lib/module-commands.html" target="_top" rel="nofollow">http://docs.python.org/lib/module-commands.html</a>
<br>
<br>oh, you could use the datetime module to get the time before the execution of the program and after the termini of the program, with theses times you can subtract one from another and get the result. more info about the datetime module: <a href="http://docs.python.org/lib/module-datetime.html" target="_top" rel="nofollow">http://docs.python.org/lib/module-datetime.html</a>
<br>
<br>cheers! =]
<br><hr align="left" width="300">
Sent from the <a href="http://www.nabble.com/Python---python-list-f2962.html">Python - python-list</a> forum at Nabble.com:<br>
<a href="http://www.nabble.com/Invoking-Unix-commands-from-a-Python-app-t756070.html#a1984806">Re: Invoking Unix commands from a Python app</a>