Invoking Unix commands from a Python app
Murtog (sent by Nabble.com)
lists at nabble.com
Sat Dec 17 00:20:25 EST 2005
the commands module is perfect for this job, more information about it in here: http://docs.python.org/lib/module-commands.html
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: http://docs.python.org/lib/module-datetime.html
cheers! =]
--
Sent from the Python - python-list forum at Nabble.com:
http://www.nabble.com/Invoking-Unix-commands-from-a-Python-app-t756070.html#a1984806
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20051216/086f58a2/attachment.html>
More information about the Python-list
mailing list