[Tutor] Store the output of os.system

ANKUR AGGARWAL coolankur2006 at gmail.com
Sun Aug 21 19:15:12 CEST 2011


Hey
I am executing a grep command in my python program using os.system. I
want to store the output somewhere but because of GUI's involved
(generated using tkinter and pyzenity) I am unable to store my output
or the result of the executed grep command in some form. Can you guys
tell me how to store the output of a terminal or show the output in a
GUI in python??
Thanks in advance.

Ankur Aggarwal


More information about the Tutor mailing list