out+=str(0); #endfor return out+str(no) #enddef #the main function if __name__ == "__main__": folder_name ='f:/data5/' os.chdir(folder_name) listing0 = os.listdir(os.getcwd()) listing0.sort(); for infile0 in listing0: #infile0 = 'siji' #temp if (os.path.isdir(infile0) !=0): print("reading: " + folder_name+infile0) listing1 = os.listdir(folder_name+"/"+infile0+"/multi") listing1.sort(); for infile1 in listing1: #infile0 = 'note' #temp if (os.path.isdir(folder_name+"/"+infile0+"/multi/"+infile1) !=0): aggregatorv132.aggr_main_function(folder_name+"/"+infile0+"/multi/"+infile1) aggregatormulti132.aggr2_main_function(folder_name+"/"+infile0+"/multi/"+infile1) os.chdir(folder_name+"/"+infile0+"/multi") os.chdir(folder_name) #endif folder #break #temp #end for folder #endif for main
for j in range(0, i): out += str(0) # endfor return out + str(no) # enddef # the main function if __name__ == "__main__": folder_name = "f:/data5/" os.chdir(folder_name) listing0 = os.listdir(os.getcwd()) listing0.sort() for infile0 in listing0: # infile0 = 'note' #temp if os.path.isdir(infile0) != 0: print("reading: " + infile0) # testv132.test_main_function(folder_name+infile0) # voiceClassifier132.vc_main_function(folder_name+infile0) aggregatorv132.aggr_main_function(folder_name + infile0) aggregatormulti132.aggr2_main_function(folder_name + infile0) # fileSeparator.filesep_main_function(folder_name+infile0) os.chdir(folder_name) # break # endif folder # break #temp # end for folder # endif for main