how to get rate of pop3 receiving progress?

Peter Hansen peter at engcorp.com
Thu Jul 14 10:51:31 EDT 2005


Leo Jay wrote:
> when i use POP3.retr() in poplib module, the retr() function will not
> return until the  receiving progress is finished
> 
> so, is there any way to get the rate of receiving progress?

Not a supported one, but you could just create a POP3 subclass and 
override the implementation of _getlongresp() to do what you need.  The 
best way to learn about this sort of thing is to view the source 
directly and read...

-Peter



More information about the Python-list mailing list