problem with async chat client in windows
Jonas
spam_no_thx_ei0stjo at chl.chalmers.se
Sun Jan 4 21:02:29 EST 2004
Hi,
I'm writing a small chat client to learn some python and networking. No problem
with the network stuff tho, the problem is when the user should be able to
interact and type messages to send. Since I work with windows I can't use the
select function (http://www.python.org/doc/current/lib/module-select.html).
Maybe it could work if I use two threads? One thread reading keyboard and the
other handling network stuff, but I would prefer to leave threads out from this.
Any suggestions?
thx for your time
More information about the Python-list
mailing list