# إزالة تعليق PPTX التوضيحي باستخدام Python

> كود مصدر Python لإزالة تعليقات عرض PPTX

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



## إزالة التعليقات من PPTX عبر Python

لإزالة التعليقات التوضيحية من ملف PPTX ، سنستخدم [Aspose.Slides for Python عبر .NET](https://products.aspose.com/slides/ar/python-net/) واجهة برمجة تطبيقات غنية بالميزات ، واجهة برمجة تطبيقات معالجة المستندات قوية وسهلة الاستخدام لمنصة Python.

### حذف التعليقات التوضيحية من PPTX - Python

```python

import aspose.slides as slides

with slides.Presentation("example.pptx") 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)
```

## كيفية إزالة التعليقات من PPTX عبر Python

ثبّت ** Aspose.Slides for Python عبر .NET **. راجع [** التثبيت **](https://docs.aspose.com/slides/python-net/installation/).

قم بتحميل PPTX بمثيل لفئة العرض التقديمي

كرر على جميع مؤلفي PPTX المحملة

إزالة جميع تعليقات المؤلف

إزالة جميع المؤلفين في النهاية

## تنسيقات التعليقات التوضيحية الأخرى المعتمدة
