Python Concurrency: Solving Race Conditions with a Bank Account Project
Learn how to manage shared data and prevent thread conflicts in Python by building and fixing a simulated bank account program using modern concurrency tools.
-
💬
مدرب ذكاء اصطناعي
اسأل عن أي درس واحصل على إجابة واضحة فورًا، في أي وقت. -
🕐
ابدأ في أي وقت
بلا جداول أو مواعيد نهائية — تعلّم بوتيرتك، وقتما يناسبك. -
🌐
بالعربية
الدروس والمهام والشهادة — كل ذلك بلغتك بالكامل.
حول هذه الدورة
Writing concurrent programs in Python is essential for performance, but sharing data between threads often leads to unpredictable bugs known as race conditions. Understanding how threads interact is the first step to writing robust, multi-threaded applications. In this text-based course, you will explore the fundamentals of Python concurrency by building a practical bank account simulation. You will write code that triggers a race condition, analyze why it happens, and then apply modern synchronization techniques to resolve it.
What you'll learn:
- Understand the foundational concepts of threading, concurrency, and shared state in Python.
- Write a simulated bank account transaction program to observe race conditions firsthand.
- Apply the concurrent.futures module to manage thread pools efficiently.
- Implement synchronization primitives like Locks to protect shared data from concurrent modification.
- Compare threading with modern asynchronous programming paradigms using async/await.
- Use modern Python type hints to write clean, readable concurrent code.
You will start with the basic terminology of concurrent programming before diving into hands-on code examples. Through clear written explanations, you will transition from broken, race-prone code to a secure, synchronized system. This course is designed for beginner Python developers who want to understand multi-threading basics, with no prior concurrency experience required. Start reading today to master thread safety and write reliable Python applications.
ما الذي ستحصل عليه
-
📜
شهادة إتمام
أضفها إلى ملفك على LinkedIn -
💬
مدرّس AI شخصي
عالق في دورة؟ اسأل مدرّسك المدمج أي شيء، في أي وقت. -
🎧
النسخة الصوتية مضمَّنة
تعلَّم أثناء تنقُّلك — دون شاشة -
♾️
وصول مدى الحياة
عُد متى شئت، بلا انتهاء -
📱
الهاتف أو الكمبيوتر
يعمل في أي مكان وعلى أي جهاز -
💸
استرداد خلال 14 يومًا
دون أسئلة -
⚡
قصير ومركَّز
3 ساعة من المحتوى التطبيقي
المراجعات
لا توجد مراجعات بعد — كن أول من يشارك تجربته.
الأسئلة الشائعة
ما الذي أحتاجه لأخذ هذه الدورة؟ +
يكفي هاتف أو كمبيوتر متصل بالإنترنت. بدون تثبيتات أو أجهزة خاصة.
كيف يمكنني الدفع؟ +
بالبطاقة عبر Stripe. لا نخزن بيانات البطاقة — يتولى Stripe ذلك بأمان.
هل يمكنني استرداد المال؟ +
نعم — استرداد كامل خلال 14 يومًا، دون أسئلة.
إلى متى يستمر وصولي؟ +
إلى الأبد. بمجرد الشراء، الدورة لك تعود إليها متى شئت.
هل سأحصل على شهادة؟ +
نعم. عند الإتمام ستحصل على شهادة يمكنك إضافتها إلى ملفك في LinkedIn.
مصمَّم للعاملين في
التقنية
التصميم
المالية
التسويق
الرعاية الصحية
التعليم
الضيافة
التصنيع
×2
اشحن مرة واحدة وادفع النصف
أضف 480 lei واحصل على 200 رصيد، بحيث تكلف كل دورة حوالي 60,00 lei. لا تنتهي صلاحية الأرصدة أبداً.
480 lei
200 رصيد
60,00 lei / دورة
أفضل قيمة
1.200 lei
550 رصيد
54,55 lei / دورة
2.400 lei
1200 رصيد
50,00 lei / دورة
الرصيد يصلح لأي دورة ولا ينتهي.