from PyPDF2 import PdfFileWriter,PdfFileReader n=1 读pdf=PdfFileReader(r"E:pdfpython.pdf") for page in range(0,读pdf.getNumPages()): 写pdf=PdfFileWriter() 写pdf.addPage(读pdf.getPage(page)) with open(r"E:pdf{}.pdf".format(n),"wb") as f: n+=1 写pdf.write(f)