# Xóa chú thích ODP bằng Python

> Mã nguồn Python để xóa nhận xét bản trình bày ODP

Source: https://products.aspose.com/slides/vi/python-net/annotation/odp/
Updated: 2023-04-18



## Xóa Nhận xét khỏi ODP qua Python

Để xóa chú thích khỏi tệp ODP, chúng tôi sẽ sử dụng [Aspose.Slides for Python via .NET](https://products.aspose.com/slides/vi/python-net/) API có nhiều tính năng, API thao tác tài liệu mạnh mẽ và dễ sử dụng cho nền tảng Python.

### Xóa chú thích khỏi ODP - Python

```python

import aspose.slides as slides

with slides.Presentation("example.odp") as presentation:
    # Deletes all comments from the presentation
    for author in presentation.comment_authors:
        author.comments.clear()

    # Deletes all authors
    presentation.comment_authors.clear()

    presentation.save("example_out.pptx", slides.export.SaveFormat.PPTX)
```

## Cách xóa nhận xét khỏi ODP bằng Python

Cài đặt **Aspose.Slides cho Python qua .NET**. Xem [**Cài đặt**](https://docs.aspose.com/slides/python-net/installation/).

Tải ODP với một thể hiện của lớp Trình bày

Lặp lại tất cả các Tác giả của ODP đã tải

Xóa tất cả Nhận xét của một tác giả

Xóa tất cả Tác giả ở cuối

## Các định dạng chú thích được hỗ trợ khác
