"Srijak Rijal" <wham10 at mad.scientist.com> writes: > I just migrated from perl to python and was wondering if python > socket can be read line by line too? How can I get only one line of > input from the server without losing info? Split the string returned by recv() on the newline(s), save the returned strings and use them at will. Lutz