greg> 1. Is there a better time function to use?

For this particular scenario I think time.time() is probably what you want:

    cumulative = 0.0
    n = 0
    for link in links:
        t = time.time()
        ie.Navigate(link)
        cumulative += time.time() - t
        n += 1

    print "average page load time:", cumulative/n, "seconds"

Skip
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to