AtuThin - အတူသင်

PROGRAMMING LANGUAGES · Programming ဘာသာစကားများ

Python သင်ခန်းစာများ

စတင်သူများအတွက် အလွယ်ကူဆုံးနဲ့ လူကြိုက်အများဆုံး programming ဘာသာစကား

သင်ခန်းစာ 126 ခု · Interview မေးခွန်း 50 · Quiz မေးခွန်း 20 · အဆင့် Programming ဘာသာစကားများ

ပထမ သင်ခန်းစာမှ စတင်ပါ

အခန်း 1

  1. Python ဘာသာစကားနှင့် အသုံးပြုနိုင်သည့်နေရာများ
  2. Python တပ်ဆင်ခြင်းနှင့် version စစ်ခြင်း
  3. Python REPL တွင် ပထမဆုံး command ရိုက်ခြင်း
  4. ပထမဆုံး .py file ဖန်တီးပြီး run ခြင်း
  5. print ဖြင့် output ထုတ်ခြင်း
  6. Comment နှင့် code ဖတ်ရလွယ်သောပုံစံ
  7. Indentation နှင့် code block
  8. Syntax error message ကိုဖတ်ခြင်း
  9. Script နှင့် interactive mode ကွာခြားချက်
  10. VS Code တွင် Python interpreter ရွေးခြင်း

အခြေခံ သင်ခန်းစာများ

  1. Terminal (Command Prompt) ဆိုတာ ဘာလဲ၊ ဘယ်လို ဖွင့်မလဲ
  2. Python ကို python.org မှ ဒေါင်းလုပ်၍ အဆင့်ဆင့် တပ်ဆင်ခြင်း
  3. VS Code တပ်ဆင်ခြင်းနှင့် Python extension ထည့်ခြင်း
  4. လေ့ကျင့်ခန်း: အမည်၊ အသက် နှင့် ဈေးတွက် mini program

အခန်း 2

  1. Variable အမည်ပေးခြင်းနှင့် တန်ဖိုးသတ်မှတ်ခြင်း
  2. int နှင့် float ဂဏန်းအမျိုးအစား
  3. str စာသားအမျိုးအစား
  4. bool မှန်/မှားတန်ဖိုး
  5. None နှင့် တန်ဖိုးမရှိခြင်း
  6. type ဖြင့် data type စစ်ခြင်း
  7. int၊ float၊ str အဖြစ်ပြောင်းခြင်း
  8. Input ကိုဖတ်ပြီးတန်ဖိုးသိမ်းခြင်း
  9. f-string ဖြင့်စာသားနှင့်တန်ဖိုးပေါင်းခြင်း
  10. Mutable နှင့် immutable တန်ဖိုးမိတ်ဆက်

အခန်း 3

  1. Arithmetic operator များ
  2. Comparison operator များ
  3. and၊ or၊ not ဖြင့် logic တည်ဆောက်ခြင်း
  4. if ဖြင့် အခြေအနေစစ်ခြင်း
  5. if/else ဖြင့် ရွေးချယ်မှုနှစ်မျိုးလုပ်ခြင်း
  6. elif ဖြင့် အခြေအနေများစွာစစ်ခြင်း
  7. Nested condition ကိုဖတ်လွယ်အောင်ရေးခြင်း
  8. Membership နှင့် in operator
  9. Identity နှင့် is ကိုသတိထားသုံးခြင်း
  10. Conditional expression ရေးခြင်း

အခန်း 4

  1. for loop ဖြင့် sequence တစ်ခုလိုက်ဖတ်ခြင်း
  2. range ဖြင့် အကြိမ်ရေသတ်မှတ်ခြင်း
  3. while loop နှင့် ရပ်တန့်စည်းမျဉ်း
  4. break ဖြင့် loop ရပ်ခြင်း
  5. continue ဖြင့် iteration ကျော်ခြင်း
  6. Loop အတွင်း counter စုဆောင်းခြင်း
  7. Nested loop နှင့် grid data
  8. enumerate ဖြင့် index နှင့်တန်ဖိုးယူခြင်း
  9. zip ဖြင့် sequence နှစ်ခုတွဲဖတ်ခြင်း
  10. Loop မပြီးဆုံးသောအမှားကိုရှာခြင်း

အခန်း 5

  1. List ဖန်တီးပြီး element များရယူခြင်း
  2. List slicing နှင့် index နယ်နိမိတ်
  3. List ထဲသို့ထည့်ခြင်းနှင့် ဖယ်ရှားခြင်း
  4. Tuple ဖြင့် မပြောင်းလဲသည့်အတွဲသိမ်းခြင်း
  5. Dictionary key/value အသုံးပြုခြင်း
  6. Dictionary တွင် value ရှာပြီးပြင်ခြင်း
  7. Set ဖြင့် duplicate ဖယ်ရှားခြင်း
  8. Nested collection ကိုလုံခြုံစွာဖတ်ခြင်း
  9. List၊ tuple၊ set၊ dict ရွေးချယ်ခြင်း
  10. Comprehension ဖြင့် collection ဖန်တီးခြင်း

အခန်း 6

  1. Function ကြေညာပြီးခေါ်သုံးခြင်း
  2. Parameter နှင့် argument ကွာခြားချက်
  3. return ဖြင့်ရလဒ်ပြန်ပေးခြင်း
  4. Default parameter သတ်မှတ်ခြင်း
  5. Keyword argument ဖြင့်ဖတ်လွယ်စေခြင်း
  6. Positional နှင့် keyword-only parameter
  7. *args နှင့် **kwargs မိတ်ဆက်
  8. Local နှင့် global scope
  9. Lambda ကိုအသုံးပြုရမည့်အခြေအနေ
  10. Docstring ဖြင့် function ရှင်းပြခြင်း

အခန်း 7

  1. String indexing နှင့် slicing
  2. စာလုံးအကြီးအသေးပြောင်းခြင်း
  3. strip ဖြင့် အပို whitespace ဖယ်ခြင်း
  4. split နှင့် join ဖြင့်စာသားခွဲပေါင်းခြင်း
  5. String ထဲတွင်တန်ဖိုးအစားထိုးခြင်း
  6. အစ/အဆုံးနှင့် substring ရှာခြင်း
  7. Raw string နှင့် escape character
  8. Unicode နှင့် မြန်မာစာကိုင်တွယ်ခြင်း
  9. Regex ဖြင့်ပုံစံရှာဖွေခြင်း
  10. Text input ကိုစစ်ဆေးပြီးသန့်စင်ခြင်း

အခန်း 8

  1. Built-in module import လုပ်ခြင်း
  2. ကိုယ်ပိုင် module ဖန်တီးခြင်း
  3. if __name__ == "__main__" အသုံးပြုခြင်း
  4. Package နှင့် __init__.py မိတ်ဆက်
  5. pip ဖြင့် package တပ်ဆင်ခြင်း
  6. Virtual environment ဖန်တီးပြီး activate လုပ်ခြင်း
  7. requirements.txt ထုတ်ပြီးသုံးခြင်း
  8. Import path နှင့် module အမည်တိုက်မှု
  9. Environment variable ဖတ်ခြင်း
  10. Project folder ဖွဲ့စည်းပုံတည်ဆောက်ခြင်း

အခန်း 9

  1. open ဖြင့် text file ဖတ်ခြင်း
  2. with ဖြင့် file ကိုလုံခြုံစွာပိတ်ခြင်း
  3. File ထဲသို့ စာသားရေးခြင်း
  4. Pathlib ဖြင့် file path စီမံခြင်း
  5. CSV ဖိုင်ဖတ်ပြီးရေးခြင်း
  6. JSON ကိုဖတ်ပြီး Python object ပြောင်းခြင်း
  7. JSON data ကိုဖိုင်သိမ်းခြင်း
  8. try/except ဖြင့် error ကိုင်တွယ်ခြင်း
  9. else/finally ဖြင့် cleanup လုပ်ခြင်း
  10. Custom exception သတ်မှတ်ခြင်း

အခန်း 10

  1. Class နှင့် object ဖန်တီးခြင်း
  2. __init__ နှင့် instance attribute
  3. Instance method နှင့် self
  4. Class attribute နှင့် instance attribute
  5. Encapsulation နှင့် property
  6. Inheritance နှင့် method override
  7. super ဖြင့် parent behavior ခေါ်ခြင်း
  8. Dataclass ဖြင့် data object ရေးခြင်း
  9. Composition ဖြင့် class များချိတ်ခြင်း
  10. Object representation နှင့် __str__

အခန်း 11

  1. Iterable နှင့် iterator ကွာခြားချက်
  2. iter နှင့် next ကိုအသုံးပြုခြင်း
  3. yield ဖြင့် generator တည်ဆောက်ခြင်း
  4. Generator expression ဖြင့် lazy evaluation
  5. Sorting key ဖြင့် စာရင်းစီခြင်း
  6. Linear search အဆင့်လိုက်ရေးခြင်း
  7. Binary search အခြေခံ
  8. Stack နှင့် queue ကို collection ဖြင့်တည်ဆောက်ခြင်း
  9. Big O notation မိတ်ဆက်
  10. Algorithm edge case နှင့် complexity စစ်ခြင်း

အခန်း 12

  1. assert ဖြင့် အခြေခံရလဒ်စစ်ခြင်း
  2. unittest ဖြင့် test case ရေးခြင်း
  3. pytest ဖြင့် test discovery လုပ်ခြင်း
  4. Fixture ဖြင့် test data ပြင်ဆင်ခြင်း
  5. Mock ဖြင့် external service ခွဲစမ်းခြင်း
  6. Logging level နှင့် structured log
  7. Type hint နှင့် annotation မိတ်ဆက်
  8. async/await ဖြင့် asynchronous function
  9. asyncio.gather ဖြင့် task များတွဲလုပ်ခြင်း
  10. Project ကို format၊ lint၊ test ဖြင့်စစ်ခြင်း

သင်ယူမှု စစ်ဆေးပါ