# تحويل PPTX إلى POTX في Python

> رمز عينة لتحويل PPTX إلى POTX Python. استخدم PowerPoint Python API لتحويل ملفات PPTX إلى ملفات POTX.

Source: https://products.aspose.com/slides/ar/python-net/conversion/pptx-to-potx/
Updated: 2026-10-27



## تحويل PPTX إلى POTX في Python

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

باعتبارها واجهة برمجة تطبيقات حديثة لمعالجة العروض التقديمية ، تقوم Aspose.Slides for Python بإنشاء POTX من PPTX بسرعة. اختبر جودة تحويل PPTX إلى POTX مباشرة في [المتصفح] الخاص بك (https://products.aspose.app/slides/conversion). تسمح لك مكتبة Aspose PowerPoint PPTX بتحويل ملفات PPTX إلى العديد من التنسيقات الشائعة.

يمكنك تثبيت المكتبة من [PyPI](https://pypi.org/project/Aspose.Slides/) باستخدام أمر pip التالي:

### وحدة التحكم / المحطة

```console
> pip install aspose.slides

```

## احفظ PPTX كـ POTX في Python

استخدم التطبيق المجاني لمشاهدة عرض توضيحي لعملية تحويل PPTX إلى POTX.

### يوضح نموذج الكود هذا تحويل PPTX إلى POTX Python

```py

import aspose.slides as slides
import aspose.pydrawing as drawing

with slides.Presentation("presentation.pptx") as presentation:
    presentation.save("presentation.potx", slides.export.SaveFormat.POTX)

```

## كيفية تحويل PPTX إلى POTX في Python

هذه هي الخطوات لتحويل ملف PPTX إلى POTX باستخدام Python.

1. قم بتحميل ملف PPTX بنسخة من فئة العرض التقديمي

1. قم باستدعاء طريقة "save" أثناء تحديد مسار ملف الإخراج & SaveFormat.POTX كمعلمات

1. سيتم حفظ ملف PPTX في المسار المحدد

## متطلبات النظام

قبل تشغيل رمز مصدر نموذج تحويل Python ، تأكد من توفر المتطلبات الأساسية التالية.

- نظام التشغيل Microsoft Windows أو Linux (راجع [المزيد](https://docs.aspose.com/slides/python-net/system-requirements/)).
- Python 3.5 أو أحدث
- Aspose.Slides for Python المشار إليها في مشروعك.

## تحويل PPTX إلى POTX عبر الإنترنت

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

- يعمل في متصفحك، دون الحاجة إلى تثبيت أي شيء.
- شاهد كيف يحوّل Aspose.Slides الملفات قبل أن تكتب الكود.
- ارفع ملفات PPTX واحفظها بتنسيق POTX.
- نزّل النتيجة أو حوّل المزيد من الملفات.

## التحويلات المدعومة الأخرى

- [PPTX TO BMP](https://products.aspose.com/slides/ar/python-net/conversion/pptx-to-bmp/) — سيب
- [PPTX TO EMF](https://products.aspose.com/slides/ar/python-net/conversion/pptx-to-emf/) — تنسيق ملف التعريف المحسن
- [PPTX TO FODP](https://products.aspose.com/slides/ar/python-net/conversion/pptx-to-fodp/) — عرض تقديمي XML مسطح OpenDocument
- [PPTX TO GIF](https://products.aspose.com/slides/ar/python-net/conversion/pptx-to-gif/) — تنسيق التبادل الرسومي
- [PPTX TO HTML](https://products.aspose.com/slides/ar/python-net/conversion/pptx-to-html/) — لغة ترميز النصوص التشعبية
- [PPTX TO JPG](https://products.aspose.com/slides/ar/python-net/conversion/pptx-to-jpg/) — صورة JPEG
- [PPTX TO ODP](https://products.aspose.com/slides/ar/python-net/conversion/pptx-to-odp/) — تنسيق العرض التقديمي OpenDocument
- [PPTX TO OTP](https://products.aspose.com/slides/ar/python-net/conversion/pptx-to-otp/) — تنسيق OpenDocument القياسي
- [PPTX TO PDF](https://products.aspose.com/slides/ar/python-net/conversion/pptx-to-pdf/) — نموذج المستندات المحمولة
- [PPTX TO PNG](https://products.aspose.com/slides/ar/python-net/conversion/pptx-to-png/) — رسومات الشبكة المحمولة
- [PPTX TO POT](https://products.aspose.com/slides/ar/python-net/conversion/pptx-to-pot/) — ملفات قوالب Microsoft PowerPoint
- [PPTX TO POTM](https://products.aspose.com/slides/ar/python-net/conversion/pptx-to-potm/) — ملف قالب Microsoft PowerPoint
- [PPTX TO PPS](https://products.aspose.com/slides/ar/python-net/conversion/pptx-to-pps/) — عرض شرائح PowerPoint
- [PPTX TO PPSM](https://products.aspose.com/slides/ar/python-net/conversion/pptx-to-ppsm/) — عرض شرائح ممكّن بماكرو
- [PPTX TO PPSX](https://products.aspose.com/slides/ar/python-net/conversion/pptx-to-ppsx/) — عرض شرائح PowerPoint
- [PPTX TO PPT](https://products.aspose.com/slides/ar/python-net/conversion/pptx-to-ppt/) — مايكروسوفت باور بوينت 97-2003
- [PPTX TO PPTM](https://products.aspose.com/slides/ar/python-net/conversion/pptx-to-pptm/) — ملف العرض التقديمي الممكّن بماكرو
- [PPTX TO SVG](https://products.aspose.com/slides/ar/python-net/conversion/pptx-to-svg/) — الرسومات المتجهات قابلة لل
- [PPTX TO SWF](https://products.aspose.com/slides/ar/python-net/conversion/pptx-to-swf/) — تنسيق SWF
- [PPTX TO TIFF](https://products.aspose.com/slides/ar/python-net/conversion/pptx-to-tiff/) — تنسيق الصورة الموسومة
- [PPTX TO XPS](https://products.aspose.com/slides/ar/python-net/conversion/pptx-to-xps/) — مواصفات ورق XML
