Python Lengkap
pemula · 50 materi · 2 gratis
Dari nol sampai siap kerja: sintaks, struktur data, fungsi, OOP, generator, decorator, async, testing, dan 4 proyek nyata.
Mulai materi gratisPython Lengkap membawamu dari program pertama sampai menulis kode Python yang siap dipakai di tim profesional. Setiap pelajaran berisi penjelasan mendalam, contoh dunia nyata dengan konteks Indonesia, diagram, contoh kode yang bisa dijalankan langsung di browser (Python 3.12 lewat Pyodide), langkah implementasi, tugas yang dinilai otomatis, latihan, dan kuis.
- Fondasi: cara kerja interpreter, variabel dan objek, angka, string dan Unicode, f-string, truthiness.
- Alur kontrol & struktur data: if, match/case, loop, list, tuple, dict, set, comprehension.
- Fungsi: argumen lanjutan, scope dan closure, higher-order function, rekursi.
- Modul, file & error: import, pip/venv, file I/O, CSV/JSON, exception.
- OOP: class, inheritance, dunder methods, property, dataclass, ABC/Protocol, komposisi.
- Lanjutan: iterator, generator, decorator, context manager, type hints, asyncio.
- Ekosistem: collections, itertools, datetime, regex, testing unittest/pytest, data dan pandas, gaya Pythonic dan performa.
- Proyek: grade-book analyzer, sistem inventaris dengan test, text adventure/state machine, log parser.
Kursus ditutup dengan ujian akhir berisi soal konsep dan soal coding.
Silabus
Fondasi Python
- Halo Python: Apa Itu Python?Gratis
- Sintaks, Indentasi & KomentarGratis
- Variabel, Objek & Dynamic Typing 30 mnt
- Angka: int, float, Decimal & Fraction 30 mnt
- String: Method, Slicing & Unicode 40 mnt
- f-string & Format Spec 30 mnt
- Boolean, Truthiness & Operator 35 mnt
Alur Kontrol & Struktur Data
- if, elif, else & Ekspresi Kondisional 30 mnt
- Pattern Matching: match/case 35 mnt
- Perulangan: for, while & range 30 mnt
- enumerate, zip, break, continue & for-else 30 mnt
- List Secara Mendalam 40 mnt
- Tuple & Unpacking 30 mnt
- Dictionary Secara Mendalam 40 mnt
- Set & frozenset 30 mnt
- Comprehension & Generator Expression 40 mnt
Fungsi
- Fungsi: def, Parameter & return 35 mnt
- Argumen Lanjutan: Default, Keyword, *args & **kwargs 40 mnt
- Scope LEGB & Closure 40 mnt
- lambda, map, filter, sorted(key=) & reduce 35 mnt
- Rekursi 40 mnt
Modul, File & Error
- Modul, Paket & __name__ 35 mnt
- pip, venv, requirements.txt & pyproject.toml 35 mnt
- File I/O & pathlib 40 mnt
- CSV & JSON 40 mnt
- Exception: try, except, else & finally 40 mnt
- raise, Custom Exception & EAFP vs LBYL 40 mnt
Pemrograman Berorientasi Objek
- Class & Objek: __init__, Atribut & Method 40 mnt
- Inheritance & super() 40 mnt
- Dunder Methods: repr, str, eq, lt, len, iter 45 mnt
- Property, classmethod & staticmethod 45 mnt
- Dataclass 35 mnt
- Abstract Base Class & Protocol 40 mnt
- Composition vs Inheritance 35 mnt
Python Lanjutan
- Iterator Protocol 35 mnt
- Generator & Lazy Pipeline 45 mnt
- Decorator, functools.wraps & Decorator dengan Argumen 45 mnt
- Context Manager & with 40 mnt
- Type Hints & typing 40 mnt
- Async & asyncio Dasar 45 mnt
Ekosistem & Praktik Profesional
- collections & itertools 40 mnt
- datetime & Regular Expression 45 mnt
- math, random, secrets & statistics 35 mnt
- Testing dengan unittest & pytest 45 mnt
- Pengantar Data: Olah CSV/JSON & Sekilas pandas 45 mnt
- Pythonic Idioms, PEP 8, PEP 20 & Performa 40 mnt
Proyek
- Proyek: Analisis Nilai (Grade-book Analyzer) 45 mnt
- Proyek: Sistem Inventaris dengan Class & Test 45 mnt
- Proyek: Text Adventure & State Machine 45 mnt
- Proyek: Log Parser dengan Regex & Generator 45 mnt
Buka semua materi Python Lengkap
Materi yang terkunci, soal latihan bernilai otomatis, mentor, dan sertifikat tersedia untuk peserta program.