How can I store the results that are on the screen after issung a command?
Posted on 2005-04-26
Hi, I am new in to python and I am trying to interact with the shell, under linux,
I am issuing some commands in this way:
It works fine, it issues the execute file, and exexutes it.
but now I need to store the results in a variable so then I can parse the results,
sometimes it a single line sometimes it is a long listing,
How can I store the results that are on the screen after issung a command??