Skip to main content

Python操作文件和文件夹的便捷组件库

Project description

zdpapi_file

Python操作文件和文件夹的便捷组件库

项目地址:https://github.com/zhangdapeng520/zdpapi_file

一、概述

1.1 功能

  • 查看文件夹占用磁盘大小

二、快速入门

2.1 查看文件夹占用磁盘大小

from zdpapi_file import Directory

def test_disk_usage(path):
    dir = Directory(path)
    print(dir.disk_usage())

if __name__ == "__main__":
    test_disk_usage("D:\\BaiduNetdiskWorkspace\\文档")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zdpapi_file-0.1.0.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

zdpapi_file-0.1.0-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page