import os,csv
infile = open("C:\\rename\\list.csv",'r')
mylist = list(csv.reader(infile))
for sublist in mylist:
    try:
        os.rename(sublist[1],sublist[0])
        print("SUCCESS :",sublist)
    except Exception as error:
        print("FAILURE :",sublist,"due to",str(error))
        

8e6157909d6ddb1f96153c1b496b2ecfd39b1f7e
<mask token>

<mask token>
for sublist in mylist:
    try:
        os.rename(sublist[1], sublist[0])
        print('SUCCESS :', sublist)
    except Exception as error:
        print('FAILURE :', sublist, 'due to', str(error))

<mask token>
infile = open('C:\\rename\\list.csv', 'r')
mylist = list(csv.reader(infile))
for sublist in mylist:
    try:
        os.rename(sublist[1], sublist[0])
        print('SUCCESS :', sublist)
    except Exception as error:
        print('FAILURE :', sublist, 'due to', str(error))

import os, csv
infile = open('C:\\rename\\list.csv', 'r')
mylist = list(csv.reader(infile))
for sublist in mylist:
    try:
        os.rename(sublist[1], sublist[0])
        print('SUCCESS :', sublist)
    except Exception as error:
        print('FAILURE :', sublist, 'due to', str(error))

import os,csv
infile = open("C:\\rename\\list.csv",'r')
mylist = list(csv.reader(infile))
for sublist in mylist:
    try:
        os.rename(sublist[1],sublist[0])
        print("SUCCESS :",sublist)
    except Exception as error:
        print("FAILURE :",sublist,"due to",str(error))
        
