def getfilelist(flist,lsep): #flist is s text file with a list of file names #the file names are returned in a list st=mylib1.readfile(flist) st=st.rstrip() ls=st.split(lsep) return ls
import mylib1,mylib2