diff --git a/html/arabic/python/general/create-markdown-from-html-in-python-complete-guide/_index.md b/html/arabic/python/general/create-markdown-from-html-in-python-complete-guide/_index.md
new file mode 100644
index 000000000..506635d13
--- /dev/null
+++ b/html/arabic/python/general/create-markdown-from-html-in-python-complete-guide/_index.md
@@ -0,0 +1,261 @@
+---
+category: general
+date: 2026-07-31
+description: أنشئ ماركداون من HTML باستخدام بايثون بسرعة. تعلّم كيفية تحويل HTML إلى
+ ماركداون باستخدام سكريبت بسيط واستكشف خيارات تحويل HTML إلى ماركداون في بايثون.
+draft: false
+images:
+- PLACEHOLDER_URL/og-image.png
+keywords:
+- create markdown from html
+- convert html to markdown
+- how to convert html
+- html to markdown conversion
+- html to markdown python
+language: ar
+lastmod: 2026-07-31
+og_description: إنشاء ملف markdown من HTML باستخدام سكريبت Python مختصر. يوضح هذا
+ الدرس كيفية تحويل HTML إلى markdown، يغطي خيارات التحويل من HTML إلى markdown، ويقدم
+ مثالًا جاهزًا للتنفيذ لمستخدمي Python لتحويل HTML إلى markdown.
+og_image_alt: Screenshot of a Python script that converts an HTML file into a Markdown
+ document
+og_title: إنشاء ماركداون من HTML باستخدام بايثون – دليل خطوة بخطوة
+schemas:
+- author: Aspose
+ dateModified: '2026-07-31'
+ description: Create markdown from HTML using Python quickly. Learn how to convert
+ HTML to markdown with a simple script and explore html to markdown python options.
+ headline: Create markdown from HTML in Python – Complete Guide
+ type: TechArticle
+- description: Create markdown from HTML using Python quickly. Learn how to convert
+ HTML to markdown with a simple script and explore html to markdown python options.
+ name: Create markdown from HTML in Python – Complete Guide
+ steps:
+ - name: Expected Output
+ text: 'Running `python convert_html_to_md.py` should print something like:'
+ - name: 1. Embedded Images
+ text: 'If your HTML contains `` tags with relative paths, the converter will
+ embed the same relative paths in Markdown. Make sure the images are copied alongside
+ the `.md` file, or adjust the `options` to embed base‑64 data URLs:'
+ - name: 2. Special Characters & Entities
+ text: 'HTML entities like ` ` or `&` are automatically decoded. However,
+ if you need to preserve them literally, set:'
+ - name: 3. Large Files
+ text: For massive HTML documents (hundreds of megabytes), consider streaming the
+ input or increasing the Python recursion limit. The Aspose engine is memory‑efficient,
+ but a 64‑bit Python interpreter is recommended.
+ type: HowTo
+tags:
+- python
+- html
+- markdown
+title: إنشاء ماركداون من HTML في بايثون – دليل شامل
+url: /ar/python/general/create-markdown-from-html-in-python-complete-guide/
+---
+
+{{< blocks/products/pf/main-wrap-class >}}
+{{< blocks/products/pf/main-container >}}
+{{< blocks/products/pf/tutorial-page-section >}}
+
+# إنشاء markdown من HTML في Python – دليل كامل
+
+هل تساءلت يومًا **كيف تحول HTML** إلى Markdown نظيف وقابل للقراءة دون أن تفقد صبرك؟ لست وحدك. سواء كنت تنقل مدونة، تبني مولد مواقع ثابتة، أو تحتاج فقط إلى تحويل سريع لمرة واحدة، فإن القدرة على **إنشاء markdown من HTML** هي مهارة مفيدة لأي مطور Python.
+
+في هذا الدرس سنستعرض حلًا بسيطًا وشاملًا **يحوّل HTML إلى markdown** باستخدام مكتبة واحدة موثقة جيدًا. بنهاية الدرس ستحصل على سكربت قابل لإعادة الاستخدام، وتفهم تفاصيل **تحويل html إلى markdown**، وتعرف كيف تعدله لمشاريعك الخاصة.
+
+## ما ستتعلمه
+
+- تثبيت حزمة Python المناسبة لمهام **html to markdown python**.
+- تحميل ملف HTML وتكوين خيارات التحويل.
+- تشغيل التحويل والتحقق من ملف Markdown الناتج.
+- التعامل مع الحالات الشائعة مثل الصور المدمجة أو الأحرف الخاصة.
+
+لا تحتاج إلى خبرة سابقة في محللات Markdown—فقط معرفة أساسية بـ Python وإدارة الملفات.
+
+## المتطلبات المسبقة
+
+قبل أن نبدأ، تأكد من وجود ما يلي:
+
+1. Python 3.8 أو أحدث مثبت على جهازك.
+2. طرفية أو موجه أوامر تشعر بالراحة في استخدامه.
+3. ملف HTML ترغب في تحويله (سنسميه `sample.html`).
+
+هذا كل شيء. إذا كان أي من ما سبق غير متوفر، خذ لحظة لتثبيت Python من python.org وإنشاء ملف HTML تجريبي صغير—سنتناول باقي التفاصيل هنا.
+
+## الخطوة 1: تثبيت Aspose.HTML لـ Python عبر pip
+
+أسهل طريقة **لإنشاء markdown من HTML** في Python هي استخدام حزمة `aspose.html`، التي تتضمن فئة `MarkdownSaveOptions` موثوقة. نفّذ الأمر التالي:
+
+```bash
+pip install aspose-html
+```
+
+> **نصيحة احترافية:** إذا كنت تعمل داخل بيئة افتراضية (مستحسن جدًا)، فعّلها أولًا؛ وإلا ستُثبت الحزمة عالميًا وقد تتعارض مع مشاريع أخرى.
+
+## الخطوة 2: استيراد الفئات المطلوبة
+
+بعد تثبيت المكتبة، استورد الكائنات اللازمة. هذا المقتطف الصغير يهيئ كل ما سيأتي لاحقًا:
+
+```python
+# Import the core Aspose.HTML classes
+from aspose.html import HTMLDocument, Converter, MarkdownSaveOptions
+```
+
+لماذا هذه الثلاثة؟ `HTMLDocument` يقوم بتحميل وتحليل الملف المصدر، `Converter` يدير عملية التحويل، و`MarkdownSaveOptions` يسمح لك بضبط تنسيق الإخراج—مثالي لمهام **html to markdown conversion**.
+
+## الخطوة 3: تحميل مستند HTML الذي تريد تحويله
+
+الآن نقوم بقراءة ملف HTML فعليًا. استبدل `YOUR_DIRECTORY` بالمسار الذي يوجد فيه `sample.html`:
+
+```python
+# Step 1: Load the HTML document you want to convert
+doc = HTMLDocument("YOUR_DIRECTORY/sample.html")
+```
+
+إذا لم يُعثر على الملف، سيُطلق Python استثناء `FileNotFoundError`. لتجنب ذلك، تحقق من المسار أو استخدم `os.path.join` لضمان التوافق عبر الأنظمة.
+
+## الخطوة 4: إنشاء خيارات حفظ Markdown (اختياري لكن قوي)
+
+كائن `MarkdownSaveOptions` يتيح لك التحكم في أشياء مثل فواصل الأسطر، أنماط العناوين، وما إذا كنت تريد الاحتفاظ بكيانات HTML. الإعدادات الافتراضية تنتج بالفعل Markdown نظيف، لكن يمكنك تخصيصها إذا لزم الأمر:
+
+```python
+# Step 2: Create Markdown save options (defaults produce standard Markdown)
+options = MarkdownSaveOptions()
+# Example tweak: preserve original line breaks
+options.preserve_line_breaks = True
+```
+
+لا تتردد في تخطي التعديل—السكريبت يعمل بشكل مثالي مباشرةً. هذه الخطوة توضح فقط كيف يمكنك تعديل التحويل لتلبية متطلبات **html to markdown python** المحددة.
+
+## الخطوة 5: تنفيذ التحويل
+
+العمل الشاق يتم في سطر واحد. نمرر المستند، الخيارات، واسم الملف الهدف إلى `Converter`:
+
+```python
+# Step 3: Convert the HTML document to a Markdown file
+Converter.convert_html(doc, options, "YOUR_DIRECTORY/sample.md")
+```
+
+بعد تشغيل هذا السطر، ستجد `sample.md` بجوار ملف HTML الأصلي، مملوءًا بـ Markdown منسق بشكل أنيق.
+
+## البرنامج الكامل – جاهز للتنفيذ
+
+بجمع كل ما سبق، إليك سكربت كامل قابل للتنفيذ يمكنك نسخه إلى `convert_html_to_md.py`:
+
+```python
+# convert_html_to_md.py
+import os
+from aspose.html import HTMLDocument, Converter, MarkdownSaveOptions
+
+def convert_html_to_markdown(html_path: str, md_path: str) -> None:
+ """
+ Convert an HTML file to Markdown.
+
+ Parameters
+ ----------
+ html_path : str
+ Path to the source HTML file.
+ md_path : str
+ Desired output path for the Markdown file.
+ """
+ # Verify that the source exists
+ if not os.path.isfile(html_path):
+ raise FileNotFoundError(f"HTML file not found: {html_path}")
+
+ # Load the HTML document
+ doc = HTMLDocument(html_path)
+
+ # Set up conversion options (you can tweak these)
+ options = MarkdownSaveOptions()
+ # Example: keep original line breaks for better diffing
+ options.preserve_line_breaks = True
+
+ # Perform conversion
+ Converter.convert_html(doc, options, md_path)
+ print(f"✅ Conversion complete! Markdown saved to: {md_path}")
+
+if __name__ == "__main__":
+ # Adjust these paths to match your environment
+ html_file = "YOUR_DIRECTORY/sample.html"
+ markdown_file = "YOUR_DIRECTORY/sample.md"
+ convert_html_to_markdown(html_file, markdown_file)
+```
+
+### النتيجة المتوقعة
+
+تشغيل `python convert_html_to_md.py` يجب أن يطبع شيئًا مشابهًا لـ:
+
+```
+✅ Conversion complete! Markdown saved to: YOUR_DIRECTORY/sample.md
+```
+
+افتح `sample.md` وسترى تمثيلًا بـ Markdown للـ HTML الأصلي—العناوين تتحول إلى رموز `#`، الفقرات كنص عادي، الروابط بصيغة `[text](url)`, وهكذا.
+
+## التعامل مع الحالات الشائعة
+
+### 1. الصور المدمجة
+
+إذا كان HTML يحتوي على وسوم `
` بمسارات نسبية، سيُدرج المحول نفس المسارات النسبية في Markdown. تأكد من نسخ الصور إلى جانب ملف `.md`، أو عدّل `options` لتضمين عناوين URL ببيانات base‑64:
+
+```python
+options.embed_images = True # Converts images to inline base64 strings
+```
+
+### 2. الأحرف الخاصة والكيانات
+
+كيانات HTML مثل ` ` أو `&` تُفك تلقائيًا. ومع ذلك، إذا أردت الحفاظ عليها حرفيًا، اضبط:
+
+```python
+options.decode_entities = False
+```
+
+### 3. الملفات الكبيرة
+
+للمستندات HTML الضخمة (مئات الميجابايت)، فكر في تدفق الإدخال أو زيادة حد الاستدعاء المتكرر في Python. محرك Aspose فعال في استهلاك الذاكرة، لكن يُنصح باستخدام مفسر Python 64‑bit.
+
+## لماذا هذا النهج يتفوق على كتابة Regex يدويًا
+
+قد تغريك كتابة تعبيرات نمطية تستبدل `
` بفواصل أسطر، إلخ. بينما يعمل ذلك على مقاطع صغيرة، سيتعطل سريعًا مع الوسوم المتداخلة، أو العلامات المعيبة، أو الجداول المعقدة. باستخدام مكتبة مخصصة:
+
+- يضمن **امتثال HTML** (المحلل يصلح الوسوم المكسورة).
+- يتعامل مع **الحالات الخاصة** مثل السكربتات، كتل الأنماط، والتعليقات مباشرةً.
+- ينتج **Markdown متسق** يمكن لأدوات مثل Pandoc أو Jekyll استيعابه دون تنظيف إضافي.
+
+باختصار، سير عمل **convert html to markdown** الذي عرضناه قوي، قابل للصيانة، وجاهز للإنتاج.
+
+## ملخص سريع
+
+- ثبّت `aspose-html` (`pip install aspose-html`).
+- حمّل HTML باستخدام `HTMLDocument`.
+- عدّل `MarkdownSaveOptions` إذا رغبت.
+- استدعِ `Converter.convert_html` للحصول على ملف `.md`.
+
+هذه هي سلسلة **create markdown from html** بالكامل—بدون خطوات مخفية، بدون خدمات خارجية، فقط Python نقي.
+
+## الخطوات التالية والمواضيع ذات الصلة
+
+الآن بعد أن أتقنت **تحويل html إلى markdown** الأساسي، قد ترغب في استكشاف:
+
+- **معالجة دفعات**: حلقة عبر مجلد كامل من ملفات HTML.
+- **التكامل مع مولدات المواقع الثابتة** مثل Hugo أو MkDocs.
+- **معالجة ما بعد التحويل**: استخدم مكتبات `markdown` أو `mistune` لتعديل الناتج أكثر.
+- **مكتبات بديلة**: `html2text`، `markdownify`، أو `pandoc` لمجموعات ميزات مختلفة.
+
+كل من هذه يبني على الأساس الذي غطيناه، وتستفيد جميعها من نفس نهج **html to markdown python**.
+
+---
+
+*برمجة سعيدة! إذا واجهت أي صعوبات أو كان لديك أفكار لتوسيع هذا السكربت، اترك تعليقًا أدناه—لنبقِ الحوار مستمرًا.*
+
+## ما الذي يجب أن تتعلمه بعد ذلك؟
+
+الدروس التالية تغطي مواضيع ذات صلة وثيقة تبني على التقنيات التي تم توضيحها في هذا الدليل. كل مصدر يتضمن أمثلة شاملة مع شروحات خطوة بخطوة لمساعدتك على إتقان ميزات API إضافية واستكشاف أساليب تنفيذ بديلة في مشاريعك الخاصة.
+
+- [Convert HTML to Markdown in Aspose.HTML for Java](/html/english/java/saving-html-documents/convert-html-to-markdown/)
+- [Convert HTML to Markdown in .NET with Aspose.HTML](/html/english/net/html-extensions-and-conversions/convert-html-to-markdown/)
+- [Markdown to HTML Java - Convert with Aspose.HTML](/html/english/java/conversion-html-to-other-formats/convert-markdown-to-html/)
+
+{{< /blocks/products/pf/tutorial-page-section >}}
+{{< /blocks/products/pf/main-container >}}
+{{< /blocks/products/pf/main-wrap-class >}}
+{{< blocks/products/products-backtop-button >}}
\ No newline at end of file
diff --git a/html/arabic/python/general/create-svg-document-add-a-circle-and-save-as-svg/_index.md b/html/arabic/python/general/create-svg-document-add-a-circle-and-save-as-svg/_index.md
new file mode 100644
index 000000000..f67eb2d82
--- /dev/null
+++ b/html/arabic/python/general/create-svg-document-add-a-circle-and-save-as-svg/_index.md
@@ -0,0 +1,210 @@
+---
+category: general
+date: 2026-07-31
+description: تعلم كيفية إنشاء مستند SVG، إضافة دائرة، وحفظ ملف SVG بسرعة. صدّر الرسمة
+ كـ SVG ببضع أسطر من كود بايثون.
+draft: false
+images:
+- PLACEHOLDER_URL/og-image.png
+keywords:
+- create svg document
+- save svg file
+- export graphic as svg
+- add circle to svg
+language: ar
+lastmod: 2026-07-31
+og_description: إنشاء مستند SVG، إضافة دائرة، وحفظ ملف SVG في ثوانٍ. يوضح لك هذا الدليل
+ كيفية تصدير الرسم كملف SVG مع كود واضح وقابل للتنفيذ.
+og_image_alt: Screenshot of a red circle inside an SVG file named circle.svg
+og_title: إنشاء مستند SVG – إضافة دائرة وحفظه كملف SVG
+schemas:
+- author: Aspose
+ dateModified: '2026-07-31'
+ description: Learn how to create SVG document, add a circle, and save SVG file quickly.
+ Export graphic as SVG with a few lines of Python code.
+ headline: Create SVG Document – Add a Circle and Save as SVG
+ type: TechArticle
+- description: Learn how to create SVG document, add a circle, and save SVG file quickly.
+ Export graphic as SVG with a few lines of Python code.
+ name: Create SVG Document – Add a Circle and Save as SVG
+ steps:
+ - name: Pro tip
+ text: If you plan to generate many files in a loop, give each `Drawing` a unique
+ name or use `io.BytesIO` to keep everything in memory until you’re ready to
+ write.
+ - name: Edge case – Transparent background
+ text: 'If you need a transparent background (the default for SVG), you can skip
+ setting a `fill` on the root. For a white background, add:'
+ - name: 'Bonus: Export graphic as SVG programmatically'
+ text: 'If you need the SVG content as a string—for example, to embed it in an
+ HTML email—you can call `dwg.tostring()` instead of `save()`:'
+ type: HowTo
+- questions:
+ - answer: Swap `dwg.circle` for `dwg.rect`, `dwg.ellipse`, or even a custom `` or inlined with `