1. GroupDocs Documentation
  2. /
  3. GroupDocs.Editor Product Family
  4. /
  5. GroupDocs.Editor for Python via .NET

GroupDocs.Editor for Python via .NET

View as MarkdownMarkdown

Set up your AI agent

Give your coding agent live access to the GroupDocs documentation and API reference through the GroupDocs Docs MCP server — no install, no API key. Learn more

claude mcp add --transport http groupdocs-docs https://docs.groupdocs.com/mcp

Also process documents locally

The GroupDocs.Editor MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.

claude mcp add groupdocs-editor -- dnx GroupDocs.Editor.Mcp --yes
Folders, licensing and more →
groupdocs-editor-python-net-home PyPI package PyPI downloads

Release notes Download from PyPI Online app

GroupDocs.Editor for Python via .NET is a document-editing API built around an HTML round-trip: load a document, convert it to clean, editable HTML/CSS, edit that markup in any WYSIWYG editor or programmatically, then save it back to the original format — or convert it to another. It works with Word processing, spreadsheets, presentations, PDF, email, eBooks, and text/markup formats through one unified API, with no MS Office or OpenOffice installation required.

Quick example

from groupdocs.editor import Editor

# Load a document, convert it to editable HTML, and read its body content
with Editor("document.docx") as editor:
    editable = editor.edit()
    html = editable.get_body_content()
    print(html)

Features

  • HTML round-trip editing: Convert any supported document to editable HTML/CSS and save it back without losing fidelity.
  • Multi-format: Word processing, spreadsheets, presentations, PDF, email, eBooks, and text/markup, all behind one API.
  • Format conversion: Save an edited document with a different *SaveOptions to convert it (for example DOCX → PDF or DOCX → Markdown) via the HTML intermediate.
  • Granular editing: Edit a single worksheet, a single slide, or a page range; toggle pagination and language metadata.
  • Resource extraction: Pull out a document’s images, fonts, CSS, and audio as separate resources.

Supported File Formats

GroupDocs.Editor supports a wide range of file formats. For a complete list, see the full list of supported formats.

  • Word Processing (DOC, DOCX, DOCM, DOT, ODT, RTF)
  • Spreadsheets (XLS, XLSX, XLSM, ODS, CSV, TSV)
  • Presentations (PPT, PPTX, PPS, ODP)
  • Fixed-Layout (PDF, XPS)
  • Email (EML, MSG, MBOX, MHTML)
  • eBooks (EPUB, MOBI, AZW3)
  • Text & Markup (HTML, XML, JSON, Markdown, TXT)

Getting Started

To get started, refer to the System Requirements, Supported Document Formats, Installation, and Quick Start Guide sections for setup instructions.

Developer Guide

For practical code examples and explanations of the load–edit–save workflow across every supported family, see the Developer Guide section. It covers loading documents, editing Word/Excel/PowerPoint/PDF/email/eBook/text content, working with the EditableDocument, and managing form fields.

Technical Support

If you experience any issues or have suggestions, please refer to the Technical Support topic. This topic provides multiple support channels tailored to your needs.