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