Thuta Learning
ရှာဖွေရန်
BasicProgrammingbeginner

Python Get Started

စိတ်လျှော့ပါ။ ဒီခန်းကို စာအုပ်လိုမဟုတ်ဘဲ စကားပြောသလိုပဲ၊ နားလည်လွယ်အောင် ရှင်းပါမယ်။

🐍 Lesson 2: Python Get Started

1. Python ကို ဘယ်လို စတင်သလဲ?

မြန်မာ → Python ကို သင့်ကွန်ပျူတာမှာ install လုပ်ပြီး စတင်နိုင်တယ်။

English → You can start Python by installing it on your computer.

2. Install လုပ်ပုံ

PlatformInstallation Method
Windowspython.org ကနေ Download & Install
Mac / Linuxအများစုမှာ Python ပါပြီးသား၊ Terminal မှာ python3 --version စစ်ကြည့်ပါ

3. Python ကို Run ပုံ

Command Line မှာ:

python
python

File Run ပုံ:

python
python hello.py

4. IDE (Integrated Development Environment)

  • VS Code → အလွယ်တကူ အသုံးများ
  • PyCharm → Professional IDE
  • Jupyter Notebook → Data Science, AI အတွက် အဆင်ပြေ

5. အကျဉ်းချုပ်

✅ Python ကို install လုပ်ပြီး command line သို့မဟုတ် IDE မှာ run လို့ရတယ်

✅ ပထမဆုံး စမ်းသပ်ဖို့ print("Hello, World!") ကို run လိုက်ပါ

python
# ===== ပထမဆုံး Hello World Program =====
print("Hello, World!")

# ===== Python Version စစ်ကြည့်ခြင်း =====
import sys
print(f"Python Version: {sys.version}")

# ===== Multiple lines printing =====
print("Welcome to Python!")
print("Let's start coding!")
You should see
Hello, World! Python Version: 3.11.0 (main, Oct 24 2022, 18:26:48) [MSC v.1933 64 bit (AMD64)] Welcome to Python! Let's start coding!
Python Get Started | Thuta Learning