I have a bunch of files in a folder it contains various file types like xlsx, pdf, csv etc. what I am trying to do is export the pdf file names to an excel sheet. how can it be done using pandas please help?
i used for file in glob.glob("*"): print (file)
i got the output what i want is to export the output to excel sheet.