to the pdffilewriter object get the page object by calling getpage(on pdffilereader object then pass that page object to your pdffilewriter' addpage(method these steps are done first for pdf reader and then again for pdf reader when you're done copying pageswrite new pdf called combinedminutes pdf by passing file object to the pdffilewriter' write(method note pypdf cannot insert pages in the middle of pdffilewriter objectthe addpage(method will only add pages to the end you have now created new pdf file that combines the pages from meetingminutes pdf and meetingminutes pdf into single document remember that the file object passed to pypdf pdffilereader(needs to be opened in read-binary mode by passing 'rbas the second argument to open(likewisethe file object passed to pypdf pdffilewriter(needs to be opened in writebinary mode with 'wbrotating pages the pages of pdf can also be rotated in -degree increments with the rotateclockwise(and rotatecounterclockwise(methods pass one of the integers or to these methods enter the following into the interactive shellwith the meetingminutes pdf file in the current working directoryimport pypdf minutesfile open('meetingminutes pdf''rb'pdfreader pypdf pdffilereader(minutesfilepage pdfreader getpage( page rotateclockwise( {'/contents'[indirectobject( )indirectobject( )--snip-pdfwriter pypdf pdffilewriter(pdfwriter addpage(pageresultpdffile open('rotatedpage pdf''wb'pdfwriter write(resultpdffileresultpdffile close(minutesfile close(here we use getpage( to select the first page of the pdf and then we call rotateclockwise( on that page we write new pdf with the rotated page and save it as rotatedpage pdf the resulting pdf will have one pagerotated degrees clockwiseas shown in figure - the return values from rotateclockwise(and rotatecounterclockwise(contain lot of information that you can ignore