[Tutor] telnetlib's read_very_eager() method?

Walter Prins wprins at gmail.com
Wed Sep 14 22:13:38 CEST 2011


On 14 September 2011 21:03, James Hartley <jjhartley at gmail.com> wrote:

> On Wed, Sep 14, 2011 at 12:54 PM, Walter Prins <wprins at gmail.com> wrote:
>
>> Hence, try using read_some() instead of read_very_eager().
>>
>
> read_some() captures what I was hoping to catch.  Thanks!
>
>
>>
>> Aside: If you want to interact with a mail server there's probably better
>> modules to be using than the telnet module.
>>
>>
> Do you have any suggestions?
>

The smtplib module: http://docs.python.org/library/smtplib.html

Cheers,

Walter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110914/ff1670a6/attachment.html>


More information about the Tutor mailing list