Python Imports: Modules, Packages, and Structure
This course teaches beginners how to structure Python applications using proper import mechanisms for scalable and readable codebases.
-
💬
مدرب ذكاء اصطناعي
اسأل عن أي درس واحصل على إجابة واضحة فورًا، في أي وقت. -
🕐
ابدأ في أي وقت
بلا جداول أو مواعيد نهائية — تعلّم بوتيرتك، وقتما يناسبك. -
🌐
بالعربية
الدروس والمهام والشهادة — كل ذلك بلغتك بالكامل.
حول هذه الدورة
Working on larger Python projects requires a solid understanding of how code is organized into modules and packages. Confusing import paths can quickly lead to unmanageable code and runtime errors.
This course provides a complete, text-based guide to managing Python imports, ensuring you know exactly how to structure your directories and reference code safely, whether you are building a simple application or a complex library.
What you'll learn:
* Understand the difference between absolute and relative imports and when to use each approach.
* Learn how Python resolves import paths and manages the module search mechanism.
* Structure packages correctly using modern conventions and manage project roots effectively with virtual environments.
* Apply proper import patterns to ensure compatibility with static analysis tools and type checkers.
* Practice setting up basic test environments and handling imports correctly when running tests using frameworks like pytest.
We start with core terminology and the fundamental rules of module loading, then move step-by-step through practical examples of organizing code into complex package hierarchies, concluding with modern project structure considerations. This course is designed for beginner Python developers who are ready to move beyond single-file scripts and learn how to build organized, multi-file applications. No prior experience with packaging or modules is necessary.
Start reading today and bring structure and clarity to your Python projects.
ما الذي ستحصل عليه
-
📜
شهادة إتمام
أضفها إلى ملفك على LinkedIn -
💬
مدرّس AI شخصي
عالق في دورة؟ اسأل مدرّسك المدمج أي شيء، في أي وقت. -
🎧
النسخة الصوتية مضمَّنة
تعلَّم أثناء تنقُّلك — دون شاشة -
♾️
وصول مدى الحياة
عُد متى شئت، بلا انتهاء -
📱
الهاتف أو الكمبيوتر
يعمل في أي مكان وعلى أي جهاز -
💸
استرداد خلال 14 يومًا
دون أسئلة -
⚡
قصير ومركَّز
3 ساعة من المحتوى التطبيقي
المراجعات
لا توجد مراجعات بعد — كن أول من يشارك تجربته.
الأسئلة الشائعة
ما الذي أحتاجه لأخذ هذه الدورة؟ +
يكفي هاتف أو كمبيوتر متصل بالإنترنت. بدون تثبيتات أو أجهزة خاصة.
كيف يمكنني الدفع؟ +
بالبطاقة عبر Stripe. لا نخزن بيانات البطاقة — يتولى Stripe ذلك بأمان.
هل يمكنني استرداد المال؟ +
نعم — استرداد كامل خلال 14 يومًا، دون أسئلة.
إلى متى يستمر وصولي؟ +
إلى الأبد. بمجرد الشراء، الدورة لك تعود إليها متى شئت.
هل سأحصل على شهادة؟ +
نعم. عند الإتمام ستحصل على شهادة يمكنك إضافتها إلى ملفك في LinkedIn.
مصمَّم للعاملين في
التقنية
التصميم
المالية
التسويق
الرعاية الصحية
التعليم
الضيافة
التصنيع
×2
اشحن مرة واحدة وادفع النصف
أضف R 1,700 واحصل على 200 رصيد، بحيث تكلف كل دورة حوالي R 212.50. لا تنتهي صلاحية الأرصدة أبداً.
R 1,700
200 رصيد
R 212.50 / دورة
أفضل قيمة
R 4,300
550 رصيد
R 195.45 / دورة
R 8,500
1200 رصيد
R 177.08 / دورة
الرصيد يصلح لأي دورة ولا ينتهي.