def processFolder(abfFolder):
if not type(abfFolder) is str or not len(abfFolder)><NUM_LIT:3>:<EOL><INDENT>return<EOL><DEDENT>files=sorted(glob.glob(abfFolder+"<STR_LIT>"))<EOL>for i,fname in enumerate(files):<EOL><INDENT>print("<STR_LIT>".format(i,len(files)),os.path.basename(fname))<EOL>processAbf(fname,show=False)<EOL><DEDENT>plt.show()<EOL>return<EOL>
call processAbf() for every ABF in a folder.