Skip to main content

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)?
-y (--yes)
Automatic yes to prompts

More information


This project is licensed under the MIT License, see COPYING.

Project details

Download files

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

Files for 1to001, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size 1to001-0.3.0.tar.gz (5.0 kB) File type Source Python version None Upload date Hashes View
Filename, size 1to001-0.3.0.win32.exe (66.4 kB) File type Windows Installer Python version any Upload date Hashes View
Filename, size (7.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page