The example loads a PDF, reads an external file into a memory stream, adds a file attachment annotation to the first page, and saves the modified Document.... Save the updated Document. import aspose.pdf.facades...PdfContentEditor () # Bind document to PdfContentEditor content_editor...