Aspose.PDF for Python via .NET allows you to add headers and footers to your PDF file using TextStamp class....input_file ) as document : for i in range ( 1 , len ( document . pages...input_file ) as document : for i in range ( 1 , len ( document . pages...