บทแนะนำ & การติดตั้ง
ทำไมสาย TS ควรเรียน Python, การปรับมุมมอง และ toolchain. เริ่ม →
บทแนะนำ & การติดตั้ง
ทำไมสาย TS ควรเรียน Python, การปรับมุมมอง และ toolchain. เริ่ม →
Python 101 — พื้นฐาน
ตัวแปร ฟังก์ชัน คลาส และ error — TypeScript ↔ Python. เรียน →
Python ที่ไม่มีใน TypeScript
Decorator, comprehension, generator, dunder method, context manager. สำรวจ →
Async & Concurrency
asyncio, tasks & gather, threading, multiprocessing — เหนือกว่า event loop. ลงลึก →
สร้าง API ด้วย FastAPI
Routing, Pydantic model, validation, DI — Express/Nest ↔ FastAPI. สร้าง →
Python ขั้นสูง
Protocol เทียบ structural typing, dataclass, pattern matching, pytest. เจาะลึก →
เครื่องมือ ทดสอบ & Deploy
ruff/black, mypy, pytest, venv/uv, Docker, CI. ส่งขึ้นจริง →
เทียบกับ TypeScript ก่อนเสมอ
ทุกแนวคิดเริ่มจาก TypeScript ที่คุณรู้ แล้วค่อยแสดงวิธีของ Python
รัน Python ใน browser
ตัวอย่างรันได้จริงฝั่ง client ด้วย Pyodide (CPython ที่คอมไพล์เป็น WebAssembly) — ไม่ต้องติดตั้ง ไม่ต้องมี backend
แบบทดสอบ & ความคืบหน้า
ทบทวนความเข้าใจท้ายแต่ละบท พร้อมเก็บความคืบหน้าไว้ในเครื่องคุณเอง
สองภาษา
มีทั้งภาษาอังกฤษและไทย — สลับได้ตลอดจากแถบด้านบน