Re: Pipe stdout && stderr to a TkLabel widget

2009-02-01 Thread rantingrick
PS: The braces are there because i used *arg in the fuction, so that is not a problem now. All i want to do is overide the print statement to sent all it's output to a Tkinter Label widget Thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: Pipe stdout && stderr to a TkLabel widget

2009-02-01 Thread rantingrick
Hello, anybody. Any help would be good help Thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: Pipe stdout && stderr to a TkLabel widget

2009-01-26 Thread rantingrick
OK, here is a simple example that will show you what i want to do. Right now if you type print 'hello' in the entry and press you will see braces in the label "{}". But if you type sys.stdou.write ("hello") you will see "{hello}" in the label. So i got the stdout piping to the widget now, but it w