批量修改文件夹内文件的扩展名
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
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
change_extension-1.1.tar.gz
(1.5 kB
view details)
Built Distribution
File details
Details for the file change_extension-1.1.tar.gz
.
File metadata
- Download URL: change_extension-1.1.tar.gz
- Upload date:
- Size: 1.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.0 CPython/3.10.6 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f4f0292314a9e141dcd21fe387effc7f94b871bd2e510b33875c3cf49d0c481 |
|
MD5 | fd14baa023eb98d586d8901bda669d4b |
|
BLAKE2b-256 | f9b00c085275daa500c3834d1ecae920645a981dfebe0a208169739f03a2a52e |
File details
Details for the file change_extension-1.1-py3-none-any.whl
.
File metadata
- Download URL: change_extension-1.1-py3-none-any.whl
- Upload date:
- Size: 1.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.0 CPython/3.10.6 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b3ea5868644dfc95c42c56fc0be2a3f3251a4d7e83b4dd4e2d9416e3660e19d |
|
MD5 | 15e98294ad59fec34ad7d995f722c5e9 |
|
BLAKE2b-256 | 7a9eb11a23adc209a490640a04dae893848fb4cd32ec31d3214660c53f87ae6d |