Re: 2 threads; 1 more Tkinter and 1 more terminal. problem

2010-08-15 Thread Jemy
http://effbot.org/tkinterbook/label.htm Hope this url will be of some help to you all. Regards Jemy -- http://mail.python.org/mailman/listinfo/python-list

Re: 2 threads; 1 more Tkinter and 1 more terminal. problem

2010-08-15 Thread Jemy
I attached the source file On Mon, Aug 16, 2010 at 5:17 AM, Jemy wrote: > > > On Mon, Aug 16, 2010 at 5:13 AM, 金鑫鑫 wrote: > >> Hi Man, >> I have done that according to your requirements >> Here is the code >> {code} >> >>> #!/usr/bin/python >>> >>> import Tkinter >>> >>> import threading >>> >

Re: 2 threads; 1 more Tkinter and 1 more terminal. problem

2010-08-15 Thread Jemy
On Mon, Aug 16, 2010 at 5:13 AM, 金鑫鑫 wrote: > Hi Man, > I have done that according to your requirements > Here is the code > {code} > >> #!/usr/bin/python >> >> import Tkinter >> >> import threading >> >> >>> root=Tkinter.Tk() >> >> root.geometry("100x100") >> >> v=Tkinter.StringVar() >> >> labe

Re: 2 threads; 1 more Tkinter and 1 more terminal. problem

2010-08-15 Thread 金鑫鑫
Hi Man, I have done that according to your requirements Here is the code {code} > #!/usr/bin/python > > import Tkinter > > import threading > > >> root=Tkinter.Tk() > > root.geometry("100x100") > > v=Tkinter.StringVar() > > label=Tkinter.Label(root,textvariable=v,fg="red") > > label.pack(fill=Tkin

Re: 2 threads; 1 more Tkinter and 1 more terminal. problem

2010-08-15 Thread ChrisChia
On Aug 16, 4:17 am, Terry Reedy wrote: > On 8/15/2010 10:22 AM, ChrisChia wrote: > > > Hi all, > > i am trying to do a GUI with Tkinter package, but i am stuck no matter > > what... > > The problem right now is that my GUI has a label= 'A' (where 'A' is > > the text on display) > > > i wish to run

Re: 2 threads; 1 more Tkinter and 1 more terminal. problem

2010-08-15 Thread Terry Reedy
On 8/15/2010 10:22 AM, ChrisChia wrote: Hi all, i am trying to do a GUI with Tkinter package, but i am stuck no matter what... The problem right now is that my GUI has a label= 'A' (where 'A' is the text on display) i wish to run a program with 2 threads... one for my GUI and the other for the t