Python Asynchronous Iterators and Generators — WalkSelf
⏱ 2 ساعة 48 دقيقة 📚 28 دورة 🎧 النسخة الصوتية

Python Asynchronous Iterators and Generators

Learn how to efficiently process data streams and handle concurrent I/O using async iterables and the modern `async for` syntax in Python.

  • 💬 مدرب ذكاء اصطناعي
    اسأل عن أي درس واحصل على إجابة واضحة فورًا، في أي وقت.
  • 🕐 ابدأ في أي وقت
    بلا جداول أو مواعيد نهائية — تعلّم بوتيرتك، وقتما يناسبك.
  • 🌐 بالعربية
    الدروس والمهام والشهادة — كل ذلك بلغتك بالكامل.

حول هذه الدورة

Scaling Python applications often requires efficiently handling long-running operations like database queries or network requests without blocking the entire program. Traditional iteration methods fall short when concurrency is required. This course provides a foundational understanding of asynchronous programming in Python, specifically focusing on how to build and consume custom asynchronous iterators and generators to manage concurrent data flow effectively. What you'll learn: * Understand the core concepts of synchronous iteration, iterables, and the iterator protocol in Python. * Master the `async` and `await` keywords and how they integrate with Python's event loop for cooperative multitasking. * Implement the asynchronous iterator protocol using `__aiter__` and `__anext__` to create custom async data sources. * Apply asynchronous generators (`async def` with `yield`) to simplify the creation of efficient, concurrent data streams. * Practice using `async for` loops correctly to consume asynchronous data streams without blocking the event loop. * Configure type hints for asynchronous iterators and generators to improve code clarity and maintainability. We begin by reviewing standard Python iteration, then transition into the `asyncio` framework fundamentals before diving deep into the specific protocols and syntax required for concurrent iteration. You will apply these concepts through practical written exercises. This course is designed for Python programmers new to asynchronous programming or those who need to manage I/O-bound operations efficiently. No prior experience with `asyncio` is required. Start reading today to unlock the power of concurrent data processing in Python.

ما الذي ستحصل عليه

  • 📜 شهادة إتمام
    أضفها إلى ملفك على LinkedIn
  • 💬 مدرّس AI شخصي
    عالق في دورة؟ اسأل مدرّسك المدمج أي شيء، في أي وقت.
  • 🎧 النسخة الصوتية مضمَّنة
    تعلَّم أثناء تنقُّلك — دون شاشة
  • ♾️ وصول مدى الحياة
    عُد متى شئت، بلا انتهاء
  • 📱 الهاتف أو الكمبيوتر
    يعمل في أي مكان وعلى أي جهاز
  • 💸 استرداد خلال 14 يومًا
    دون أسئلة
  • قصير ومركَّز
    2 ساعة 48 دقيقة من المحتوى التطبيقي

المراجعات

لا توجد مراجعات بعد — كن أول من يشارك تجربته.

اكتب مراجعة

سنطلب منك تسجيل الدخول بعد الإرسال — تُحفظ مسودتك.

الأسئلة الشائعة

ما الذي أحتاجه لأخذ هذه الدورة؟ +

يكفي هاتف أو كمبيوتر متصل بالإنترنت. بدون تثبيتات أو أجهزة خاصة.

كيف يمكنني الدفع؟ +

بالبطاقة عبر Stripe. لا نخزن بيانات البطاقة — يتولى Stripe ذلك بأمان.

هل يمكنني استرداد المال؟ +

نعم — استرداد كامل خلال 14 يومًا، دون أسئلة.

إلى متى يستمر وصولي؟ +

إلى الأبد. بمجرد الشراء، الدورة لك تعود إليها متى شئت.

هل سأحصل على شهادة؟ +

نعم. عند الإتمام ستحصل على شهادة يمكنك إضافتها إلى ملفك في LinkedIn.

مصمَّم للعاملين في
التقنية التصميم المالية التسويق الرعاية الصحية التعليم الضيافة التصنيع