I will provide you with a small script that will work as per your requirement
e.g. Creating File Attachment Scanning API (for Internal Portal) that will use Python pandas and
“ole tools” library to scan the file attachments that are attached in the internal tool used to create
tickets of different tasks for different departments.