problem with async chat client in windows

Jonas spam_no_thx_ei0stjo at chl.chalmers.se
Mon Jan 5 10:49:56 EST 2004


Jp Calderone wrote:
> On Mon, Jan 05, 2004 at 03:02:29AM +0100, Jonas wrote:
> 
>>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 
> 
> 
>   Why not?  select works perfectly well on Windows.
> 
>   See http://www.twistedmatrix.com/
> 
>   Jp
> 

Well the standard library select doesn't work for file descriptors like stdin on 
windows and I didn't know about Twisted. Anyway there must be some way to solve 
this without the need for extra depencencies??



More information about the Python-list mailing list