1""
2code to print all jpg, png, docx, pdf. for the path provided
3""
4def process(contentpath):
5 jpg_images = glob.glob(contentpath + '/*.jpg')
6 print("jpg images \n",jpg_images)
7 png_images = glob.glob(contentpath + '/*.png')
8 print("\n png images \n",png_images)
9 documents = glob.glob(contentpath + '/*.docx')
10 print("\n docxx - \n",documents)
11 pdfs_inside = glob.glob(contentpath + '/*.pdf')
12 print("\n pdfsss - \n ",pdfs_inside)
13
14 return
15
16process(r' input the path of the folder here ')