search for file based on name python code example
Example: python find file name
filesName = list(map(os.path.basename, glob.glob("..\yourPath\*txt")))
print(filesName)
filesName = list(map(os.path.basename, glob.glob("..\yourPath\*txt")))
print(filesName)