Re: tkinter socket client ?

2005-01-27 Thread Tonino
great - thanks ;) Tonino -- http://mail.python.org/mailman/listinfo/python-list

Re: tkinter socket client ?

2005-01-27 Thread Pedro Werneck
On Tue, 25 Jan 2005 13:44:32 + Martin Franklin [EMAIL PROTECTED] wrote: thanks for this info - I had to abandon the createfilehandler() method as it is not supported in windows and the GUI might be used there at some time ... Take a look here:

Re: tkinter socket client ?

2005-01-25 Thread Tonino
Hi, thanks for this info - I had to abandon the createfilehandler() method as it is not supported in windows and the GUI might be used there at some time ... So - I went the threading route - works well - for now - so I will stick to it ... BUT - the next question: In the Text() widget - why -

Re: tkinter socket client ?

2005-01-25 Thread Martin Franklin
Tonino wrote: Hi, thanks for this info - I had to abandon the createfilehandler() method as it is not supported in windows and the GUI might be used there at some time ... So - I went the threading route - works well - for now - so I will stick to it ... BUT - the next question: In the Text()

Re: tkinter socket client ?

2005-01-25 Thread Russell E. Owen
In article [EMAIL PROTECTED], Tonino [EMAIL PROTECTED] wrote: thanks for this info - I had to abandon the createfilehandler() method as it is not supported in windows and the GUI might be used there at some time ... So - I went the threading route - works well - for now - so I will stick to it

Re: tkinter socket client ?

2005-01-24 Thread Russell E. Owen
In article [EMAIL PROTECTED], Tonino [EMAIL PROTECTED] wrote: yeah - had a look at createfilehandler() - was a bit confusing - but your example helps ;) Be warned that createfilehandler does not work on Windows, though it works well on unix and MacOS X. So my suggestion is one to try any of

Re: tkinter socket client ?

2005-01-21 Thread TZOTZIOY
On 20 Jan 2005 22:25:52 -0800, rumours say that Tonino [EMAIL PROTECTED] might have written: [tkinter gui for a socket client, lots of data from the socket] NOW - HOW do I get the server's sent data to continuiosly print in the Text() widget ? You need to use:

Re: tkinter socket client ?

2005-01-21 Thread Diez B. Roggisch
just one problem - I do not know how to sit in a loop accepting messages on the socket connection - writting them to the Text() widget - refreshing the the GUI - and then starting all over where do I put the loop for the socket ? Another thread? Or use twisted, it comes with a

Re: tkinter socket client ?

2005-01-21 Thread Tonino
thanks for the info - but I really do not want to learn twisted before I can understand Tkinter ;) another thread seems the way - will try that ... Thanks Tonino -- http://mail.python.org/mailman/listinfo/python-list

Re: tkinter socket client ?

2005-01-21 Thread Neal Norwitz
You are probably looking for Tkinter.createfilehandler(). Here are some snippets to get you started: tk_reactor = Tkinter._tkinter self.sd = socket(AF_INET, SOCK_STREAM) self.sd.connect((HOST, PORT)) tk_reactor.createfilehandler(self.sd, Tkinter.READABLE, self.handle_input) def

Re: tkinter socket client ?

2005-01-21 Thread Tonino
hi there , yeah - had a look at createfilehandler() - was a bit confusing - but your example helps ;) Thanks Tonino -- http://mail.python.org/mailman/listinfo/python-list

tkinter socket client ?

2005-01-20 Thread Tonino
I have been looking through the previous posts - but with my lack of knowledge on the whole tkinter subject - I have no clue what to look for ... SO - can anyone please help with this ...? I have a python server that when it gets a connection from a client - it sends data back - quite a bit of