using sockets the same as in Ruby ?

Markus Jais info at mjais.de
Mon Feb 17 12:31:12 EST 2003


Peter Hansen wrote:

> Markus Jais wrote:
>> 
>> that is, how can I read from a socket line by line ?
>> in the doc I found only the recv function which needs a buffer size.
> 
> Look up the makefile() method on the socket object.  With that, I
> believe you will easily find how to do what you want.

thanks a lot.
that seems to be what I need.


markus


> 
> -Peter





More information about the Python-list mailing list