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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for zdpapi_file-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2e475edc2df67c591979e76d9154cb533f1b4f3f3cf3327bf793dc5414ff208 |
|
MD5 | 2e22ef363179f2693c08f06f91a242df |
|
BLAKE2b-256 | a5bd10b74456ee2c4c5710f73266c3215eab94651626f1553f09bc9e19bc07e8 |