Q:

Find a given file recursively inside a directory

Find a given file recursively inside a dir. The code I tried is not showing any output, though I have a file C:\Users\anaveed\test\hoax\a.txt
Below the code
import glob
import os

os.chdir(r'C:\Users\anaveed\test')
for f in glob.iglob('a.txt', recursive=True):
    print(f)

No output

A:

Looks like you need.
import glob

for f in glob.iglob(r'C:\Users\anaveed\test\**\a.txt', recursive=True):
    print(f)

