Calculating Download Rate

placid Bulkan at gmail.com
Fri Jan 5 06:53:52 EST 2007


Hi all,

I want be able to work the download rate for downloading HTML pages
using the urllib.urlopen(url). The way i thought i would do this is
start a timer (or log the current time) just before calling this
function and the stopping the timer (logging the current time again and
the working out the difference) this would give me duration that it
took to retrieve the web-page, not the download rate?

Thanks in advance.




More information about the Python-list mailing list