Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Padding numbers in filenames automatically

Project Description

1to001 is made for padding numbers in filenames automatically. It’s written in Python 3.


System-wide installation:

$ pip install 1to001

User installation:

$ pip install --user 1to001

For development code:

$ pip install git+


$ touch 1.txt 100.txt
$ 1to001 *.txt
+ 001.txt
? ++
perform padding (y/n)? y
1.txt -> 001.txt


-i (--ignore-case)

When cases are mixed, this option would ignore the cases, for example for files like:


They can be renamed to:

1to001 -i *.{txt,TXT}
+ read005Me02.txt
?     ++
+ read100me01.TXT
?          +
perform padding (y/n)?

More information


This project is licensed under the MIT License:

Copyright (c) 2013, 2014 Yu-Jie Lin

Release History

History Node


History Node


This version
History Node


History Node


Download Files

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

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(4.8 kB) Copy SHA256 Hash SHA256
Source Jun 29, 2014
(66.3 kB) Copy SHA256 Hash SHA256
any Windows Installer Jun 29, 2014
(6.6 kB) Copy SHA256 Hash SHA256
Source Jun 29, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting