I have a spimple script to rename all files in directory (ex. 475435\_name.psd) by increasing its number lets say by 10.

But I get an error

```
Traceback (most recent call last):
  File "C:/Users/mstopienski/Desktop/Desktop/test.py", line 12, in <module>
    os.rename(filename, newname)
FileNotFoundError: [WinError 2] The system cannot find the file specified: '810858_Hero_ProjectHP_1600x487.psd' -> '810868_Hero_ProjectHP_1600x487.psd'

```

I dont want it to move files I just want the names changed.

```
import glob, os
path = input()
for filename in glob.glob(path):
    number = filename[0:6]
    name = filename[6:]
    x = int(number)+10
    newname = (str(x) + name)
    os.rename(filename, newname)

```