Foundations of Python Type Hints
Write more robust, readable, and self-documenting Python code by mastering the modern typing system.
-
💬
مدرب ذكاء اصطناعي
اسأل عن أي درس واحصل على إجابة واضحة فورًا، في أي وقت. -
🕐
ابدأ في أي وقت
بلا جداول أو مواعيد نهائية — تعلّم بوتيرتك، وقتما يناسبك. -
🌐
بالعربية
الدروس والمهام والشهادة — كل ذلك بلغتك بالكامل.
حول هذه الدورة
Are you looking for a way to catch common errors before they happen and make your Python code easier for others (and yourself) to understand? Type hints are the answer, and this course will guide you through them from the ground up.
By adding static type information to your projects, you can build more reliable and maintainable applications. You'll learn how to use Python's typing system to create code that is not only less prone to bugs but also significantly clearer and more predictable.
What you'll learn:
- Learn the fundamental syntax for adding type hints to variables, function arguments, and return values.
- Understand how to use common types from the `typing` module, such as `List`, `Dict`, `Union`, and `Optional`.
- Apply type hints effectively within your own classes, including methods and attributes, using the modern `Self` type.
- Practice using a static type checker like `mypy` to analyze your code and find potential errors automatically.
- Explore how type hints work with dataclasses to create simple, structured data objects.
- Master the use of generics with `TypeVar` to write flexible and reusable typed functions and classes.
This course starts with the basic concepts and terminology of static typing in Python. From there, you will learn to apply these concepts to increasingly complex code structures, preparing you to use type hints confidently in your own projects.
This course is designed for anyone with a basic knowledge of Python who wants to learn about the type hinting system. No prior experience with static typing is required.
Start writing clearer and more professional Python code today.
ما الذي ستحصل عليه
-
📜
شهادة إتمام
أضفها إلى ملفك على LinkedIn -
💬
مدرّس AI شخصي
عالق في دورة؟ اسأل مدرّسك المدمج أي شيء، في أي وقت. -
🎧
النسخة الصوتية مضمَّنة
تعلَّم أثناء تنقُّلك — دون شاشة -
♾️
وصول مدى الحياة
عُد متى شئت، بلا انتهاء -
📱
الهاتف أو الكمبيوتر
يعمل في أي مكان وعلى أي جهاز -
💸
استرداد خلال 14 يومًا
دون أسئلة -
⚡
قصير ومركَّز
2 ساعة 36 دقيقة من المحتوى التطبيقي
المراجعات
لا توجد مراجعات بعد — كن أول من يشارك تجربته.
الأسئلة الشائعة
ما الذي أحتاجه لأخذ هذه الدورة؟ +
يكفي هاتف أو كمبيوتر متصل بالإنترنت. بدون تثبيتات أو أجهزة خاصة.
كيف يمكنني الدفع؟ +
بالبطاقة عبر Stripe. لا نخزن بيانات البطاقة — يتولى Stripe ذلك بأمان.
هل يمكنني استرداد المال؟ +
نعم — استرداد كامل خلال 14 يومًا، دون أسئلة.
إلى متى يستمر وصولي؟ +
إلى الأبد. بمجرد الشراء، الدورة لك تعود إليها متى شئت.
هل سأحصل على شهادة؟ +
نعم. عند الإتمام ستحصل على شهادة يمكنك إضافتها إلى ملفك في LinkedIn.
مصمَّم للعاملين في
التقنية
التصميم
المالية
التسويق
الرعاية الصحية
التعليم
الضيافة
التصنيع
×2
اشحن مرة واحدة وادفع النصف
أضف DA 13,000 واحصل على 200 رصيد، بحيث تكلف كل دورة حوالي DA 1,625.00. لا تنتهي صلاحية الأرصدة أبداً.
DA 13,000
200 رصيد
DA 1,625.00 / دورة
أفضل قيمة
DA 33,000
550 رصيد
DA 1,500.00 / دورة
DA 65,000
1200 رصيد
DA 1,354.17 / دورة
الرصيد يصلح لأي دورة ولا ينتهي.