Modifying form in your PDF file with Aspose.PDF for Python via .NET library. You can add or remove fields in existing form, get and set field limit and etc....pycore import cast , is_assignable dataDir = "path/to/your/data/dir/"...document . pages [ 1 ] . resources . forms for form in forms...