Am Dienstag, den 19.10.2004, 08:36 -0400 schrieb Steve McClure:
On Mon, 2004-10-18 at 13:05, Marcus Habermehl wrote:
Am Sonntag, den 17.10.2004, 16:36 -0500 schrieb Skip Montanaro:
Marcus I want to execute some shell commands in my python script. The
Marcus output should be
On Mon, 2004-10-18 at 13:05, Marcus Habermehl wrote:
Am Sonntag, den 17.10.2004, 16:36 -0500 schrieb Skip Montanaro:
Marcus I want to execute some shell commands in my python script. The
Marcus output should be redirected to a gtk.TextView in real-time. How
Marcus can I do this?
Am Sonntag, den 17.10.2004, 16:36 -0500 schrieb Skip Montanaro:
Marcus I want to execute some shell commands in my python script. The
Marcus output should be redirected to a gtk.TextView in real-time. How
Marcus can I do this?
Use os.popen or one of its cousins, capture the
Hi.
I want to execute some shell commands in my python script. The output
should be redirected to a gtk.TextView in real-time. How can I do this?
My first idea was sys.stdin.
But I become each time an error.
TypeError: coercing to Unicode: need string or buffer, file found
regards
Marcus
Marcus I want to execute some shell commands in my python script. The
Marcus output should be redirected to a gtk.TextView in real-time. How
Marcus can I do this?
Use os.popen or one of its cousins, capture the output via reads on the file
object returned, then stuff it into the