Now i am trying to rename the contents of a folder that contains txt files using python:
The original files naming starts from 0.txt to 100.txt
and i want to change their name to start from 10 instead of 0 (so the files would be 10.txt to 110.txt for example)
I have 2 lists, one contains the original names path and another one with the new names path,and i am trying to use os.rename() or shutil.move() to rename the files.
However, when i try using os.rename(), i get the error that i cannot create a file that already exists.
When i try to use shutil.move(), it deletes every single repeated folder, giving me only the last 9 folders(101 to 110).
Is there a way around this ??