shutil.py 文件源码

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

项目:news-for-good 作者: thecodinghub 项目源码 文件源码
def disk_usage(path):
        """Return disk usage statistics about the given path.

        Returned values is a named tuple with attributes 'total', 'used' and
        'free', which are the amount of total, used and free space, in bytes.
        """
        total, free = nt._getdiskusage(path)
        used = total - free
        return _ntuple_diskusage(total, used, free)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号