Simple server/client application

2005-10-24 Thread MBW
The following code is for a simple server/client asplication that allows the user to toggle between serve and or client modes and send/recieve a message however i am getting an Attribute error on my entry widgets when I try and call get() to get the port and ip address from those fields, I'm sure

Re: Simple server/client application

2005-10-24 Thread Simon Percivall
You're calling the grid() method on the Entry object you're instanciating. Are you sure that the grid() method returns the Entry object so that you're actually binding it to self.myAddress? -- http://mail.python.org/mailman/listinfo/python-list

Re: Simple server/client application

2005-10-24 Thread jmdeschamps
Simon Percivall wrote: You're calling the grid() method on the Entry object you're instanciating. Are you sure that the grid() method returns the Entry object so that you're actually binding it to self.myAddress? The widget maker should do it in two steps instead of one. So instead of:

Re: Simple server/client application

2005-10-24 Thread MBW
thanks both of you, I should have realized what was gonig on Cheers, Matt -- http://mail.python.org/mailman/listinfo/python-list