How To Batch Modify Multiple Files Name In Python

In python, you need to use the python os module to handle files and folders. Before using the python os module, you need to import the os module with the command import os. Then you can call the related function of the os module in the format of os.function_name().