# Remove Comments from PPT in Python

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

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



## Remove Comments from PPT via Python

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

### Remove Comments from PPT in Python

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

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

## How to Remove Comments from PPT via Python

Follow these steps to remove all comments and comment authors from a PPT presentation.

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

Open the PPT file with `Presentation`.

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

Clear the `comment_authors` collection.

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

## Other Supported Comment Formats
