
February 4th, 2004, 03:57 PM
|
|
Contributing User
|
|
Join Date: Jul 2003
Posts: 35
Time spent in forums: < 1 sec
Reputation Power: 10
|
|
|
simple, full wxPython examples?
Hi all,
In an effort to learn wxPython, I'm trying to make a very simple chat program. Two textboxes: The top one you can type stuff into, click a "send" button, and have it sent to the user you are connected to. The bottom one displays messages you receive from the other user.
So I'm thinking that there are two threads that need to be created -- one that is responsible for handling the GUI, and another that handles sending/receiving data over a socket (passing data to/from the GUI thread, when the user receives a message or sends one, respectively). I suppose I could just start attempting to code it right away, but I'd like a prototype to sort of guide me.
So does anyone know of a simple program using wxPython and sockets that might help me out?
Thanks,
theperfectsoup
|