import PyPDF2
writer = PyPDF2.PdfFileWriter()
writer.addBlankPage(219, 297)
with open (r"C:\\Users\\Aditya\\.spyder-py3\\scripting in python\\sample pdf with python\\mergedpdf.pdf","wb") as file:
writer.write(file)
file.close()
无法使用此文件创建pdf。