Python Generators: Mastering yield from and Nested Data Flow
Master nested generators and coroutines in Python to write cleaner, more efficient code for complex data pipelines and asynchronous tasks.
حول هذه الدورة
Working with complex, nested data structures in Python can quickly lead to messy, deeply nested generator loops. Understanding how to delegate generator operations cleanly is the key to writing maintainable, high-performance Python code. This text-based course guides you from the absolute basics of generators to the powerful yield from construction. You will learn how to simplify your code, capture return values from subgenerators, and transition smoothly toward modern asynchronous programming patterns. In this course, you will: 1. Understand the core mechanics of Python generators, iterators, and the yield keyword. 2. Implement the yield from syntax to cleanly delegate operations to subgenerators. 3. Capture return values from nested generators to manage complex data flows. 4. Apply type hints to your generators for better code readability and safety. 5. Connect the concepts of generator delegation to modern async and await patterns. 6. Practice refactoring nested loops into elegant, flat generator pipelines. The course begins with foundational definitions of iterables and generators before diving into subgenerators. You will then read through practical examples of data routing, exception handling, and value returning within nested structures. This course is designed for Python developers who understand basic syntax and want to master advanced data flow control. No prior experience with coroutines is required. Start reading today to write cleaner, more efficient Python pipelines.
ما الذي ستحصل عليه
-
📜
شهادة إتمام
أضفها إلى ملفك على LinkedIn -
💬
Personal AI tutor
Stuck on a lesson? Ask your built-in tutor anything, any time. -
🎧
النسخة الصوتية مضمَّنة
تعلَّم أثناء تنقُّلك — دون شاشة -
♾️
وصول مدى الحياة
عُد متى شئت، بلا انتهاء -
📱
الهاتف أو الكمبيوتر
يعمل في أي مكان وعلى أي جهاز -
💸
استرداد خلال 30 يومًا
دون أسئلة -
⚡
قصير ومركَّز
1 ساعة 40 دقيقة من المحتوى التطبيقي
المراجعات
لا توجد مراجعات بعد — كن أول من يشارك تجربته.
المتعلمون أخذوا أيضًا
تطوير نظام إدارة وظيفي قائم على سطر الأوامر باستخدام مبادئ بايثون الموجهة للكائنات ومنطق الأعمال للتعامل مع بيانات العملاء وحسابات الوساطة.
$9.99
تعلم أتمتة معالجة البيانات، وتحليل النتائج العلمية، وبناء نصوص قابلة للصيانة لأي تخصص بحثي باستخدام ممارسات بايثون الحديثة.
$9.99
بناء أساس قوي في بايثون وتعلم حل المشاكل العلمية والقائمة على البيانات في العالم الحقيقي باستخدام ممارسات البرمجة الحديثة والتمارين الكتابية العملية.
$9.99
تعلم كيفية كتابة شفرة بايثون نظيفة وسريعة وفعالة من حيث الموارد عن طريق تنفيذ التحليل، وتحسين هياكل البيانات، والاستفادة من العمليات المتجهية.
$9.99
الأسئلة الشائعة
ما الذي أحتاجه لأخذ هذه الدورة؟ +
يكفي هاتف أو كمبيوتر متصل بالإنترنت. بدون تثبيتات أو أجهزة خاصة.
كيف يمكنني الدفع؟ +
بالبطاقة عبر Stripe أو بالعملات الرقمية. لا نخزن بيانات البطاقة — يتولى Stripe ذلك بأمان.
هل يمكنني استرداد المال؟ +
نعم — استرداد كامل خلال 30 يومًا، دون أسئلة.
إلى متى يستمر وصولي؟ +
إلى الأبد. بمجرد الشراء، الدورة لك تعود إليها متى شئت.
هل سأحصل على شهادة؟ +
نعم. عند الإتمام ستحصل على شهادة يمكنك إضافتها إلى ملفك في LinkedIn.
مصمَّم للعاملين في
التقنية
التصميم
المالية
التسويق
الرعاية الصحية
التعليم
الضيافة
التصنيع