openebs_utils.py 文件源码

python
阅读 28 收藏 0 点赞 0 评论 0

项目:easy-jupyter 作者: openebs 项目源码 文件源码
def download(url, file_name):
    """
    function to download file over http
    url : URL of file to be downloaded
    file_name : File name
    """
    with io.FileIO(file_name, "w") as file:
        # get request
        response = get(url)
        # write to file
        file.write(response.content)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号