This is My First Python Program
In this Python program provides a simple GUI tool for batch renaming files. It allows users to browse files, specify a rename format, and choose a new extension for the files. The tool then renames the selected files according to the specified format and extension.
- Specify a custom rename format.
- Choose a new extension for the files.
- Handles duplicate file names by appending an index.
- Python 3.x
- Tkinter library (usually comes pre-installed with Python)
- Run the program by executing the
main()
function. - Click the "Browse File" button to select file.
- Enter a custom rename format in the provided Entry widget.
- Optionally, specify a new extension for the files.
- Click the "Done" button to rename the selected files.
- View success or error messages in pop-up dialogs.
- Browse File Button: Opens a file dialog to select multiple files.
- Rename Format Entry: Enter a custom rename format for the files.
- New Extension Entry: Optionally, specify a new extension for the files.
- Done Button: Initiates the file renaming process.
- Listbox: Displays the selected files for renaming.