【文件属性】:
文件名称:分类器:将文件分类到不同的文件夹中,即可立即整理目录中的文件
文件大小:8KB
文件格式:ZIP
更新时间:2021-02-19 17:38:38
python classify-files Python
分类器
通过将文件分类为音乐,pdf,图像等文件夹,来组织当前目录中的文件。
安装
$ pip install classifier
兼容性
Python 2.7 / Python 3.4
Linux / OSX / Windows
用法
转到您要对文件进行分类的目录。
在终端中运行以下命令。
$ classifier
>> Scanning Files
>> Done !
例子
前:
Downloads
│ ├── project.docx
│ ├── 21 Guns.mp3
│ ├── Sultans of Swing.mp3
│ ├── report.pdf
│ ├── charts.pdf
│ ├── VacationPic.png
│ ├── CKEditor.zip
│ ├── Cats.jpg
│ └── archive.7z
后:
【文件预览】:
classifier-master
----setup.py(582B)
----README.md(4KB)
----classifier()
--------classifier.py(12KB)
--------__init__.py(0B)
----tests()
--------__init__.py(2B)
--------test_classifier.py(2KB)
----.gitignore(749B)