Skip to main content

批量修改文件夹内文件的扩展名

Project description

说明

批量修改文件夹内文件的扩展名

如文件为 胖虎演唱.mp3 那么执行后可以变为 胖虎演唱.zip

用法1

终端进入项目位置

终端输入python change_extension.py <文件夹路径> <新扩展名>

例子

cd D:\change_extension
python change_extension.py D:\audio zip

用法2

pip install change_extension

import change_extension
change_extension.batch_change_extension('<文件夹路径> <新扩展名>')

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

change_extension-1.1.tar.gz (1.5 kB view hashes)

Uploaded Source

Built Distribution

change_extension-1.1-py3-none-any.whl (1.9 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