ros.py 文件源码

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

项目:ROS-Code 作者: Richienb 项目源码 文件源码
def filedownload(source, destination):
    import urllib
    if not isempty(source):
        if not isempty(destination):
            try:
                urllib.request.urlretrieve(source, destination)
            except:
                raise RuntimeError('An Error Has Occured: File Download Error (0010)')
        else:
            raise RuntimeError('An Error Has Occured: Source Or Destination Invalid (0011)')
    else:
        raise RuntimeError('An Error Has Occured: Source Or Destination Invalid (0011)')

# Tools For Files (If Exists, Make And Delete)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号