Hi, i'm fairly new to python (just started using it today infact), and fairly new to programming for that matter.
For my first python program, i've managed to code a simple chat program that allows text to be sent to and from computers on my network. I've also created a GUI for this program using wxpython and it seems to work ok.
However, I'm stumped when I try to integrate my chat program into the GUI i created for it. The problem is that wherever I insert the code to listen for a connection (s.listen(1)) my GUI hangs until it gets a connection request. Is there any way of getting my program to listen for a TCP connection without locking up my GUI?
Any help would be appreciated..
For my first python program, i've managed to code a simple chat program that allows text to be sent to and from computers on my network. I've also created a GUI for this program using wxpython and it seems to work ok.
However, I'm stumped when I try to integrate my chat program into the GUI i created for it. The problem is that wherever I insert the code to listen for a connection (s.listen(1)) my GUI hangs until it gets a connection request. Is there any way of getting my program to listen for a TCP connection without locking up my GUI?
Any help would be appreciated..