for eachFile in os.listdir(savePath):
g = [] for eachFile in os.listdir(savePath): j = eachFile.strip(".tx") g.append(j) For x in range(0,50): #Created a list for each file w = list(reversed(list(open(savePath + '/' + g[x]))))
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)