Build a rotateDDF() to save rotation permanently in PDF file using PyPDF2
def rotateDDF(inPdfFilename, outPdfFilename, degree)
input:
degree = 90: Rotate page 90 degrees to the right
degree = -90: Rotate page 90 degrees to the left
degree = 180: Rotate page 180 degrees