如何查看下载进度?进度条呢??python requests库

request即可得到下载的内容,这里不过增加了点信息,得到所下载内容的字节数

For Video Recommendation in Deep learning QQ Group 277356808
 

For Visual in deep learning QQ Group 629530787
 

I'm here waiting for you
 

wanna have a date with someone in Beijing please join in the QQ Group 737813700

import requests
>>> url='https://sr-gnn.bj.bceb/train-item-views.csv'
>>> help(requests.get)
Help on function get in module requests.api:

get(url, params=None, **kwargs)
    Sends a GET request.
    
    :param url: URL for the new :class:`Request` object.
    :param params: (optional) Dictionary, list of tuples or bytes to send
        in the query string for the :class:`Request`.
    :param \*\*kwargs: Optional arguments that ``request`` takes.
    :return: :c

猜你喜欢

转载自blog.csdn.net/SPESEG/article/details/107213493