file exists or not through matching filename in list
问题 i have files in folders and subfolders. folder structure is like this 2020(folder) -01(sub folder) --14(sub-sub folder) ----abc1-2020-01-14.csv ----abc2-2020-01-14.csv -02(subfolder in 2020) --17(sub-sub folder in 02) ----abc1-2020-02-17.csv ----abc4-2020-02-17.csv i have list of file names. li = ['abc1','abc2','abc3','abc4'] i want to know if these file exists in directory or not. each subdirectory should have all 4 files. if not then code must return path where particular file doesnot exist