# Remove Comments from ODP in Python

> Remove comments and comment authors from ODP presentations in Python with Aspose.Slides for Python via .NET.

Source: https://products.aspose.com/slides/python-net/annotation/odp/
Updated: 2026-07-22



## Remove Comments from ODP via Python

[Aspose.Slides for Python via .NET](/slides/python-net/) provides access to the comments and comment authors stored in an ODP presentation. Load the file with `Presentation`, clear each author's `comments` collection, clear `comment_authors`, and save the result in ODP format.

### Remove Comments from ODP in Python

```python
with slides.Presentation("presentation.odp") as presentation:
    for comment_author in presentation.comment_authors:
        comment_author.comments.clear()

    presentation.comment_authors.clear()
    presentation.save("presentation-without-comments.odp", slides.export.SaveFormat.ODP)
```

## How to Remove Comments from ODP via Python

Follow these steps to remove all comments and comment authors from an ODP presentation.

Install [**Aspose.Slides for Python via .NET**](https://docs.aspose.com/slides/python-net/installation/).

Open the ODP file with `Presentation`.

Iterate through `comment_authors` and clear each author's `comments` collection.

Clear the `comment_authors` collection.

Call `save` with `SaveFormat.ODP` to write the updated ODP presentation.

## Other Supported Comment Formats
