import os def make_copyright(folder): f = [] for (dirpath, dirnames, filenames) in os.walk(folder): f.extend(filenames) for file in f: fp = open(folder + "/" + file) command = fp.read() fp.close() command = command.replace('', '