How do I change the save location of an altered PDF using PyPDF2
I need to change the location that the output file is saved. Currently the save location is wherever the application is located. I would like to change it to the user’s desktop. Any help would be appreciated. filename = askopenfilename() packet.seek(0) new_pdf = PdfFileReader(packet) existing_pdf = PdfFileReader(open(filename, "rb")) output = PdfFileWriter() page = existing_pdf.getPage(0) page.mergePage(new_pdf.getPage(0))… Read More How do I change the save location of an altered PDF using PyPDF2