for each pdfyou'll want to loop over every page except the first add this code to your program#python combinepdfs py combines all the pdfs in the current working directory into single pdf import pypdf os --snip-loop through all the pdf files for filename in pdffiles--snip-loop through all the pages (except the firstand add them for pagenum in range( pdfreader numpages)pageobj pdfreader getpage(pagenumpdfwriter addpage(pageobjtodosave the resulting pdf to file the code inside the for loop copies each page object individually to the pdffilewriter object rememberyou want to skip the first page since pypdf considers to be the first pageyour loop should start at and then go up tobut not includethe integer in pdfreader numpages step save the results after these nested for loops are done loopingthe pdfwriter variable will contain pdffilewriter object with the pages for all the pdfs combined the last step is to write this content to file on the hard drive add this code to your program#python combinepdfs py combines all the pdfs in the current working directory into single pdf import pypdf os --snip-loop through all the pdf files for filename in pdffiles--snip-loop through all the pages (except the firstand add them for pagenum in range( pdfreader numpages)--snip-save the resulting pdf to file pdfoutput open('allminutes pdf''wb'working with pdf and word documents