Python ProgrammingFoundation
Python ကို အခြေခံကနေ OOP၊ database အထိ မြန်မာလို အခမဲ့ လေ့လာပါ — သင်ခန်းစာတိုင်းမှာ animation များနဲ့ ရှင်းပြထားပါတယ်။
မြန်မာလို ရှင်းပြချက်
နည်းပညာဝေါဟာရတွေကို English လိုထားပြီး ကျန်တာကို သဘာဝကျတဲ့ မြန်မာလိုရှင်းပြထားတယ်။
Animation များ
Topic တိုင်းမှာ ပုံဆွဲ animation တွေနဲ့ မျက်စိရှေ့မြင်အောင် ရှင်းပြထားတယ်။
လက်တွေ့ ဥပမာများ
Code ဥပမာတိုင်းကို စမ်းသပ်ပြီးသား — ကူးရေးပြီး ကိုယ်တိုင် run ကြည့်နိုင်တယ်။
သင်ခန်းစာများ
အခြေခံကနေ အဆင့်မြင့်အထိ အစဉ်လိုက် လေ့လာပါ — 25 ခန်းလုံး အခမဲ့။
Chapter 0: Python ဆိုတာဘာလဲ (What is Python)
မင်္ဂလာပါ။ ဒီစာအုပ်ကို ကောက်ကိုင်လိုက်တဲ့ သင်ဟာ အခု programming လောကထဲကို ပထမခြေလှမ်း စလှမ်းလိုက်ပါပြီ။ စိတ်မပူပါနဲ့ — ဒီအခန်းမှာ code တစ…
လေ့လာရန်Chapter 1: ပထမခြေလှမ်းများ (First Steps)
Chapter 0 မှာ Python ကို install လုပ်ပြီး print("မင်္ဂလာပါ!") ကို run ကြည့်ပြီးပြီ။ အခု တကယ့် code စရေးပါပြီ။ ဒီအခန်းဟာ programming ရဲ့ အ…
လေ့လာရန်Chapter 2: String များ (Strings)
Program တစ်ခု user နဲ့ စကားပြောတဲ့အခါ သုံးတဲ့ဘာသာစကားက string ပါပဲ။ login form မှာ ရိုက်ထည့်တဲ့ နာမည်၊ chat app ထဲက မက်ဆေ့ချ်၊ ဆိုင်ရဲ့ ဘ…
လေ့လာရန်Chapter 3: နှိုင်းယှဉ်ခြင်းနှင့် Logical Operator များ (Comparison and Logical Operators)
Program တွေက လူတွေလို ဆုံးဖြတ်ချက်ချတတ်ရတယ်။ ATM စက်က PIN မှန်မမှန် စစ်တယ်။ online shop က stock ရှိမရှိ စစ်တယ်။ game ထဲက ဇာတ်ကောင်က အသက်ရ…
လေ့လာရန်Chapter 4: အခြေအနေအလိုက် ဆုံးဖြတ်ခြင်း (Conditional Statements)
အရင်အခန်းတွေမှာ ကျွန်တော်တို့ ရေးခဲ့တဲ့ program တွေက အပေါ်ကနေ အောက်ကို တစ်ကြောင်းချင်း တိုက်ရိုက် run သွားတာချည်းပဲ။ ဒါပေမယ့် တကယ့်ဘဝမှာ…
လေ့လာရန်Chapter 5: While Loop များ (While Loops)
Chapter 4 မှာ program ကို "ဆုံးဖြတ်ချက် ချတတ်အောင်" သင်ခဲ့ပြီးပြီ။ အခု နောက် အဆင့် — "ထပ်ခါထပ်ခါ လုပ်တတ်အောင်" သင်ရမယ်။ တကယ့်ဘဝမှာ ထပ်ခါလ…
လေ့လာရန်Chapter 6: For Loop နှင့် Nested Loop များ (For Loops and Nested Loops)
- for loop ကို list နဲ့ string တွေပေါ်မှာ သုံးတတ်မယ်
လေ့လာရန်Chapter 7: String Method များ (String Methods)
- ASCII/Unicode encoding အကြောင်းနဲ့ ord() / chr() ကို သုံးတတ်မယ်
လေ့လာရန်Chapter 8: List များ (Lists)
- Python list ကို ဖန်တီးတတ်မယ်၊ array (Java/C++) နဲ့ ဘယ်လို ကွာခြားတယ်ဆိုတာ ရှင်းပြနိုင်မယ်
လေ့လာရန်Chapter 9: Nested List များ (Nested Lists and Matrices)
- List ထဲမှာ list ထပ်ထည့်တဲ့ nested list ကို ဖန်တီးနိုင်မယ်
လေ့လာရန်Chapter 10: Tuple များ (Tuples)
- Tuple ဆိုတာ ဘာလဲ၊ list နဲ့ ဘယ်လို ကွာခြားလဲ (immutable အဓိက) ရှင်းပြနိုင်မယ်
လေ့လာရန်Chapter 11: Nested Tuple များ (Nested Tuples)
- Nested tuple ဆိုတာ ဘာလဲ ရှင်းပြနိုင်ပြီး ကိုယ်တိုင် ဖန်တီးနိုင်မယ်
လေ့လာရန်Chapter 12: Set များ (Sets)
- set ဆိုတာ ဘာလဲ၊ list နဲ့ tuple နဲ့ ဘယ်လို ကွာခြားသလဲ ရှင်းပြနိုင်မယ်
လေ့လာရန်Chapter 13: Dictionary များ (Dictionaries)
- dictionary ရဲ့ key-value pair သဘောတရားကို ရှင်းပြနိုင်မယ်
လေ့လာရန်Chapter 14: Function များ (Functions)
အရင်အခန်းတွေတုန်းက program တစ်ခု အစအဆုံး တစ်ဆက်တည်း ရေးလာခဲ့တယ်။ Code တွေ ရှည်လာတဲ့အခါ တူညီတဲ့အလုပ်ကို နေရာတိုင်းမှာ ထပ်ခါထပ်ခါ ရေးနေရတာက…
လေ့လာရန်Chapter 15: OOP – Class နှင့် Object (Classes and Objects)
အရင်အခန်းတွေမှာ function တွေနဲ့ code ကို အပိုင်းပိုင်းခွဲပြီး ရေးခဲ့ပြီးပြီ။ အခု ဒီအခန်းကနေ စပြီး Python programming ရဲ့ အရေးအကြီးဆုံး အတ…
လေ့လာရန်Chapter 16: OOP – Inheritance (အမွေဆက်ခံခြင်း)
အရင်အခန်းမှာ class နဲ့ object ဆောက်တတ်ပြီးပြီ။ အခု OOP ရဲ့ အစွမ်းထက်ဆုံး အယူအဆတွေထဲက တစ်ခုကို လေ့လာမယ် — Inheritance (အမွေဆက်ခံခြင်း)။
လေ့လာရန်Chapter 17: OOP – Polymorphism (အသွင်အမျိုးမျိုး)
အရင်အခန်းမှာ child class က parent ဆီက အမွေရတာ သင်ခဲ့ပြီးပြီ။ အခု မေးခွန်းတစ်ခု — child က အမွေရထားတဲ့ method ကို သူ့ဘာသာ ပုံစံပြောင်းပြီး…
လေ့လာရန်Chapter 18: OOP – Encapsulation (အတွင်းရေးဖုံးကွယ်ခြင်း)
OOP ရဲ့ တိုင်ကြီး ၄ ခုထဲက ပထမတစ်ခုကို အခု အသေးစိတ် လေ့လာမယ် — Encapsulation။
လေ့လာရန်Chapter 19: Exception Handling (အမှားအယွင်း ကိုင်တွယ်ခြင်း)
- Exception ဆိုတာ ဘာလဲ၊ ဘာကြောင့် ဖြစ်ရသလဲ ရှင်းပြနိုင်မယ်
လေ့လာရန်Chapter 20: File Handling (ဖိုင်များ ကိုင်တွယ်ခြင်း)
- Text file နဲ့ binary file ကွာခြားချက်ကို ရှင်းပြနိုင်မယ်
လေ့လာရန်Chapter 21: Database နှင့် SQL (Databases and SQL)
အရင်အခန်းတွေမှာ file handling ကို လေ့လာခဲ့ပြီးပြီ။ File ထဲမှာ data သိမ်းတာ သေးငယ်တဲ့ program တွေအတွက် အဆင်ပြေပေမယ့်၊ data များလာရင်၊ လူအမ…
လေ့လာရန်Chapter 22: Python နှင့် MySQL (Python with MySQL)
အရင်အခန်းမှာ database ဆိုတာဘာလဲ၊ SQL နဲ့ table တွေ ဘယ်လိုကိုင်တွယ်ရလဲဆိုတာ လေ့လာခဲ့ပြီးပြီ။ ဒါပေမယ့် SQL ကို MySQL program ထဲမှာ ကိုယ်တို…
လေ့လာရန်Appendix A: Binary Number များ (Binary Numbers)
- binary ဆိုတာ ဘာလဲ၊ base-2 number system ဆိုတာ ဘယ်လို အလုပ်လုပ်သလဲ ရှင်းပြနိုင်မယ်
လေ့လာရန်Appendix B: Turtle Graphics (Turtle Graphics)
စာအုပ်တစ်အုပ်လုံး number တွေ၊ text တွေနဲ့ အလုပ်လုပ်လာခဲ့ပြီ။ ဒီ appendix ကတော့ အနားယူပြီး ပျော်စရာ တစ်ခုပါ — Python နဲ့ ပုံဆွဲခြင်း အကြော…
လေ့လာရန်ဒီနေ့ပဲ စလိုက်ပါ
၁၀ မိနစ်အတွင်း ပထမဆုံး Python program ကို ကိုယ်တိုင် ရေးနိုင်သွားမယ်။
အခန်း ၀ — Python ဆိုတာဘာလဲ