copy.py 文件源码

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

项目:xpybuild 作者: xpybuild 项目源码 文件源码
def _copyFile(self, context, src, dest):
        src = normLongPath(src)
        dest = normLongPath(dest)
        with open(src, 'rb') as inp:
            with openForWrite(dest, 'wb') as out:
                shutil.copyfileobj(inp, out)
        shutil.copymode(src, dest)
        assert os.path.exists(dest)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号