(no subject)

Gerhard Häring gerhard.haering at opus-gmbh.net
Mon Sep 16 13:34:10 CEST 2002

Srijak Rijal wrote:
> Hi all
> I just migrated from perl to python and was wondering if python socket
> can be read line by line too?

You can use makefile() on the socket and then use all the usual file
methods, including readline() afterwards.

-- Gerhard

More information about the Python-list mailing list