This example binds an input PDF, attaches an external file to the first page, and saves the modified PDF with the embedded attachment....import path sys . path . append ( path . join ( path . dirname...add_document_attachment ( attachment_stream , path . basename ( attachment_file...