欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

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

程序员文章站 2022-03-10 22:45:56
request即可得到下载的内容,这里不过增加了点信息,得到所下载内容的字节数For Video Recommendation in Deep learning QQ Group 277356808For Visual in deep learning QQ Group629530787I'm here waiting for youwanna have a date with someone in Beijing please join in the QQ Group737......

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

本文地址:https://blog.csdn.net/SPESEG/article/details/107213493