xxxxxxxxxx
#The System Cannot Find The File Specified
#Source: https://stackoverflow.com/questions/35443278/filenotfounderror-winerror-2-the-system-cannot-find-the-file-specified
import os
def rename(directory):
i = 0
for name in os.listdir(directory):
i = i+1
os.rename(os.path.join(directory,name),
os.path.join(directory,name+".jpg"))
path = input("Enter the file path")
rename(path)
xxxxxxxxxx
python39.dll