my code perfectly works when I find a .txt file but it does not work when I find a .pptx file.What am I doing wrong.
import os, re
DirName = input("