I am using glob to list out all my python files in the home directory by this line of code. I want to find all .json files too along with py files, but I couldn't found any to scan for multiple file types in one line code.
for file in glob.glob('/home/mohan/**/*.py', recursive=True):
print(file)