import os def getFile(path,s): for p in os.listdir(path): pathname=os.path.join(path,p) if os.path.isdir(pathname): getFile(pathname,s) elif os.path.isfile(pathname) and s in p: return pathname
Sign in to make a reply
狗不理翔