PPT DOCX XLSX PDF ODP
Aspose.Slides  for Python via .NET
PPTX

Python의 PPTX에서 주석 및 주석 작성자 제거

서버 측 API를 사용하여 문서 파일에서 댓글과 작성자를 조작하는 자신만의 Python 스크립트를 빌드합니다.

Python을 통해 PPTX에서 주석 제거

PPTX 파일에서 주석을 제거하기 위해 기능이 풍부한 Aspose.Slides for Python via .NET API를 사용합니다. 강력하고 사용하기 쉬운 Python 플랫폼용 문서 조작 API.

PPTX에서 주석 삭제 - 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)

Python을 통해 PPTX에서 주석을 제거하는 방법

  1. Install Aspose.Slides for Python via .NET. See Installation .

  2. Presentation 클래스의 인스턴스로 PPTX 로드

  3. 로드된 PPTX의 모든 작성자에 대해 반복

  4. 작성자의 모든 주석 제거

  5. 마지막에 모든 작성자 제거

기타 지원되는 주석 형식

Python을 사용하면 다음을 포함한 다른 형식에 쉽게 주석을 달 수 있습니다.