---
id: python-tutorial-index
title: "Python Tutorial"
category: "Programming_Language"
status: "draft"
verification_status: "conceptual"
canonical_id: ""
aliases: ["Python Tutorial", "Python MOC", "Topic_Python index", "Python 목차"]
duplicate_of: ""
source_trust_level: "B"
confidence_score: 0.90
created_at: 2026-07-04
updated_at: 2026-07-04
review_reason: ""
merge_history: []
tags: ["python", "programming", "w3schools", "moc", "index"]
raw_sources: ["https://www.w3schools.com/python/"]
applied_in: []
github_commit: ""
---

# [[Python Tutorial]]

## 🎯 한 줄 통찰 (One-line insight)
Map of Content (MOC) for the W3Schools Python Tutorial — the root that links every core-Python-language knowledge page in this topic folder. [S1]

## 🧠 핵심 개념 (Core concepts)
- This folder (`Topic_Python`) wikifies the **core Python language** portion of the W3Schools Python Tutorial sidebar, one knowledge page per document, in P-Reinforce v3.1 format — same convention as `Topic_SQL` / `Topic_HTML` / `Topic_CSS` / `Topic_JavaScript`. [S1]
- Scope: **tutorial + "Learning by examples" pages only**, restricted to pure Python language content. Explicitly **excluded**: reference dumps (`python_ref_*`: Built-in Functions/String/List/Dict/Tuple/Set/File Methods, Keywords, Exceptions, Glossary), How-To recipes (`python_howto_*` — belongs to the separate "HOW TO" category), per-chapter Exercise pages (`*_exercises.asp` — pure quiz links, no content), meta pages (Quiz/Compiler/Certificate/Bootcamp/Syllabus/Study Plan/Training/Interview Q&A/Server), 8 dead/404 legacy URLs, and content that belongs to **other already-planned top-level categories**: NumPy (`numpy_*`), Pandas (`pandas_*`), Matplotlib (`matplotlib_*`), SciPy (`scipy_*`), Python ML (`python_ml_*` → Machine Learning/AI), Python DSA (`python_dsa_*`/`python_dsa.asp` → DSA), and standalone Modules reference (`module_*`). [S1]
- **Included as Python-specific** (no separate top-level category exists for these): `python_mysql_*` (Python+MySQL driver usage) and `python_mongodb_*` (Python+MongoDB driver usage). [S1]
- **Progress:** **136 of 136 planned docs complete — Python category done.**
- Every page roots its Knowledge Graph back to this `[[Python Tutorial]]` node.

## 📖 세부 내용 (Details)

### Basics
- [[Python Intro]] ✅
- [[Python Syntax]] ✅
- [[Python Statements]] ✅
- [[Python Output]] ✅
- [[Python Print Numbers]] ✅
- [[Python Comments]] ✅

### Variables
- [[Python Variables]] ✅
- [[Python Variable Names]] ✅
- [[Python Assign Multiple Values]] ✅
- [[Python Output Variables]] ✅
- [[Python Global Variables]] ✅

### Data Types
- [[Python Data Types]] ✅
- [[Python Bytes]] ✅
- [[Python Bytearray]] ✅
- [[Python Memoryview]] ✅
- [[Python Numbers]] ✅
- [[Python Casting]] ✅

### Strings
- [[Python Strings]] ✅
- [[Python Strings Slicing]] ✅
- [[Python Strings Modify]] ✅
- [[Python Strings Concatenate]] ✅
- [[Python Strings Format]] ✅
- [[Python Strings Escape]] ✅
- [[Python Strings Methods]] ✅

### Booleans & Operators
- [[Python Booleans]] ✅
- [[Python Operators]] ✅
- [[Python Operators Arithmetic]] ✅
- [[Python Operators Assign]] ✅
- [[Python Ternary Operator]] ✅
- [[Python Operators Comparison]] ✅
- [[Python Operators Logical]] ✅
- [[Python Operators Identity]] ✅
- [[Python Operators Membership]] ✅
- [[Python Operators Bitwise]] ✅
- [[Python Operators Precedence]] ✅

### Lists
- [[Python Lists]] ✅
- [[Python Lists Access]] ✅
- [[Python Lists Change]] ✅
- [[Python Lists Add]] ✅
- [[Python Lists Remove]] ✅
- [[Python Lists Loop]] ✅
- [[Python Lists Comprehension]] ✅
- [[Python Lists Sort]] ✅
- [[Python Lists Copy]] ✅
- [[Python Lists Join]] ✅
- [[Python Lists Methods]] ✅

### Tuples
- [[Python Tuples]] ✅
- [[Python Tuples Access]] ✅
- [[Python Tuples Update]] ✅
- [[Python Tuples Unpack]] ✅
- [[Python Tuples Loop]] ✅
- [[Python Tuples Join]] ✅
- [[Python Tuples Methods]] ✅

### Sets
- [[Python Sets]] ✅
- [[Python Sets Access]] ✅
- [[Python Sets Add]] ✅
- [[Python Sets Remove]] ✅
- [[Python Sets Loop]] ✅
- [[Python Sets Join]] ✅
- [[Python Frozenset]] ✅
- [[Python Sets Methods]] ✅

### Dictionaries
- [[Python Dictionaries]] ✅
- [[Python Dictionaries Access]] ✅
- [[Python Dictionaries Change]] ✅
- [[Python Dictionaries Add]] ✅
- [[Python Dictionaries Remove]] ✅
- [[Python Dictionaries Loop]] ✅
- [[Python Dictionaries Copy]] ✅
- [[Python Dictionaries Nested]] ✅
- [[Python Dictionaries Methods]] ✅

### Conditions & Control Flow
- [[Python If Statement]] ✅
- [[Python Elif]] ✅
- [[Python Else]] ✅
- [[Python If Shorthand]] ✅
- [[Python Operators Logical]] ✅ (merged duplicate chapter python_if_logical.asp here instead of a separate file)
- [[Python Nested If]] ✅
- [[Python Pass Statement]] ✅
- [[Python Match]] ✅
- [[Python While Loops]] ✅
- [[Python For Loops]] ✅
- ~~Python Data Processing~~ (dead 404 link, removed from scope)

### Functions
- [[Python Functions]] ✅
- [[Python Arguments]] ✅
- [[Python Args Kwargs]] ✅
- [[Python Scope]] ✅
- [[Python Decorators]] ✅
- [[Python Lambda]] ✅
- [[Python Recursion]] ✅
- [[Python Generators]] ✅

### Iteration & Utility
- [[Python Range]] ✅
- [[Python Arrays]] ✅
- [[Python Iterators]] ✅
- [[Python Modules]] ✅
- [[Python Dates]] ✅
- [[Python Math]] ✅
- [[Python JSON]] ✅
- [[Python RegEx]] ✅
- [[Python PIP]] ✅
- [[Python Try Except]] ✅
- [[Python String Formatting]] ✅
- [[Python None]] ✅
- [[Python User Input]] ✅
- [[Python VirtualEnv]] ✅

### OOP
- [[Python OOP]] ✅
- [[Python Classes]] ✅
- [[Python Class Init Method]] ✅
- [[Python Class Self Parameter]] ✅
- [[Python Class Properties]] ✅
- [[Python Class Methods]] ✅
- [[Python Inheritance]] ✅
- [[Python Polymorphism]] ✅
- [[Python Encapsulation]] ✅
- [[Python Inner Classes]] ✅

### File Handling
- [[Python File Handling]] ✅
- [[Python Read Files]] ✅
- [[Python Write Create Files]] ✅
- [[Python Delete Files]] ✅

### Python MySQL
- [[Python MySQL Create Database]] ✅
- [[Python MySQL Create Table]] ✅
- [[Python MySQL Insert]] ✅
- [[Python MySQL Select]] ✅
- [[Python MySQL Where]] ✅
- [[Python MySQL Order By]] ✅
- [[Python MySQL Delete]] ✅
- [[Python MySQL Drop Table]] ✅
- [[Python MySQL Update]] ✅
- [[Python MySQL Limit]] ✅
- [[Python MySQL Join]] ✅

### Python MongoDB
- [[Python MongoDB Create DB]] ✅
- [[Python MongoDB Create Collection]] ✅
- [[Python MongoDB Insert]] ✅
- [[Python MongoDB Find]] ✅
- [[Python MongoDB Query]] ✅
- [[Python MongoDB Sort]] ✅
- [[Python MongoDB Delete]] ✅
- [[Python MongoDB Drop Collection]] ✅
- [[Python MongoDB Update]] ✅
- [[Python MongoDB Limit]] ✅

## 🛠️ 적용 사례 (Applied in summary)
136 knowledge documents generated, all grounded in the corresponding W3Schools pages via the project's Playwright-based extraction pipeline (custom noise-stripped extractor, adapted from Datacollector_MAC's `web_extract.mjs`).

## ✅ 검증 상태 및 신뢰도
- **상태:** draft
- **검증 단계:** conceptual
- **출처 신뢰도:** B (W3Schools — widely used educational reference)
- **신뢰 점수:** 0.90
- **중복 검사 결과:** 신규 생성 (New discovery)

## 🔗 지식 그래프 (Knowledge Graph)
- **상위/루트:** [[10_Wiki]]
- **관련 개념:** [[Python Intro]], [[Python Functions]], [[Python OOP]], [[SQL Tutorial]], [[Topic_Programming]]
- **참조 맥락:** SQL에 이어 W3Schools 지식화 시리즈의 다음 카테고리. NumPy/Pandas/Matplotlib/SciPy/DSA/Machine Learning은 별도 카테고리로 예정됨.

## 📚 출처 (Sources)
- [S1] W3Schools — Python Tutorial — https://www.w3schools.com/python/

## 📝 변경 이력 (Change history)
- 2026-07-04: Created Python Tutorial MOC with scope decisions and full planned page list (Astra wiki-curation, P-Reinforce v3.1 format).
