一.问题: Python 中requests库在发送http请求时相当方便好用,但在使用时一直受一个问题困扰,怎么才能查看请求时长呢? 自己写时间函数再相减?NO,这个方法肯定不行. 二.解决: 好吧.我们还是看看requests管方文档,功夫不负有心人,管网API竟然后介绍是: elapsed = None The amount of time elapsed between sending the request and the arrival of the response (as a t