<reponame>Stoeoeoe/InnovationThesis<gh_stars>0
import os

dir = "C:/Users/saadk/Dropbox/Thesis 2016/Data/documents2/json/"
files = os.listdir(dir)
for file in files:
    os.rename(dir + file, dir +  file + '.json')
import os

dir = "C:/Users/saadk/Dropbox/Thesis 2016/Data/documents2/json/"
files = os.listdir(dir)
for file in files:
    os.rename(dir + file, dir +  file + '.json')