Code not running

Guys any idea why i’m getting this error

Guys, i got it … the “os.chdir(saved_path)” shouldn’t be inside the for loop.