1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181# Ultimate Python νμ΅ κ°μ΄λ
[](https://github.com/huangsam/ultimate-python/actions)
[](https://codecov.io/gh/huangsam/ultimate-python)
[](https://sonarcloud.io/dashboard?id=huangsam_ultimate-python)
[](https://github.com/huangsam/ultimate-python/blob/main/LICENSE)
[](https://www.reddit.com/r/Python/comments/inllmf/ultimate_python_study_guide/)
μ΄λ³΄μμ μ λ¬Έκ° λͺ¨λλ₯Ό μν μ΅κ³ μ Python νμ΅ κ°μ΄λμ
λλ€. π π π
```python
print("Ultimate Python νμ΅ κ°μ΄λ")
```
[English](README.md) |
[νκ΅μ΄](README.ko.md) |
[ηΉδ½δΈζ](README.zh_tw.md) |
[EspaΓ±ol](README.es.md) |
[Deutsch](README.de.md) |
[FranΓ§ais](README.fr.md) |
[ΰ€Ήΰ€Ώΰ€¨ΰ₯ΰ€¦ΰ₯](README.hi.md) |
[PortuguΓͺs - Brasil](README.pt_br.md)
<img src="images/ultimatepython.webp" alt="Ultimate Python" width="250px" />
## λκΈ°
μ΄ GitHub μ μ₯μλ λν μ‘Έμ
ν, λκ·λͺ¨ νμ¬μμ 근무νλ©΄μ
κ·Έλ¦¬κ³ [Celery](https://github.com/celery/celery)μ [Full Stack Python](https://github.com/mattmakai/fullstackpython.com) κ°μ μ€νμμ€ νλ‘μ νΈμ κΈ°μ¬νλ©΄μ
μ§λ 5λ
μ΄μ λμ λ°°μ΄ [core Python](https://www.python.org/)μ λν μ§μμ 곡μ νκΈ° μν΄ λ§λ€μμ΅λλ€.
μ λ λ λ§μ μ¬λλ€μ΄ Pythonμ λ°°μ°κ³ μμ μ μ΄μ μ μΆκ΅¬νκΈΈ κΈ°λν©λλ€. π
## λͺ©ν
μ΄ κ°μ΄λλ₯Ό λ§λλ μ£Όμ λͺ©νλ λ€μκ³Ό κ°μ΅λλ€:
π μ€μ΅ νμ΅μ μ νΈνλ Python μ΄λ³΄μλ₯Ό μν **νμ΅ μλ£λ₯Ό μ 곡ν©λλ€.**
μ΄ μ μ₯μμλ [PyCharm](https://www.jetbrains.com/pycharm/)κ³Ό κ°μ IDE λ° [Replit](https://replit.com/languages/python3)μ κ°μ λΈλΌμ°μ μμ μ€νν μ μλ λ
립ν λͺ¨λ λͺ¨μμ΄ μμ΅λλ€. κΈ°λ³Έ ν°λ―Έλμμλ μμ λ₯Ό μ€νν μ μμ΅λλ€.
λλΆλΆμ μ½λ λΌμΈμ νλ‘κ·Έλ¨μ΄ λ¨κ³λ³λ‘ μ΄λ€ μμ
μ νλμ§ μλ΄νλ μ μ€νκ² μμ±λ μ£Όμμ΄ μμ΅λλ€.
μ¬μ©μλ `main` 루ν΄μ μμ νμ§ μκ³ , κ° λ³κ²½ νμ [μ±κ³΅μ μΌλ‘ μ€ν](runner.py)λλ ν μμ€ μ½λλ₯Ό μΌλ§λ μ§ μμ ν μ μμ΅λλ€.
π core Python κ°λ
μ λ€μ 볡μ΅νκ³ μΆμ μ¬λλ€μ μν **μμ κ°μ΄λλ₯Ό μ 곡ν©λλ€.**
μ¬κΈ°μλ μ€μ§ [λ΄μ₯ λΌμ΄λΈλ¬λ¦¬](https://docs.python.org/3/library/)λ§μ μ¬μ©νμ¬ μ΄λ¬ν κ°λ
μ λλ©μΈ νΉνλ κ°λ
μ μ€λ²ν€λ μμ΄ μ λ¬ν©λλ€.
λ°λΌμ μ λͺ
ν μ€νμμ€ λΌμ΄λΈλ¬λ¦¬μ νλ μμν¬(`sqlalchemy`, `requests`, `pandas` λ±)λ μ€μΉλμ΄ μμ§ μμ΅λλ€.
κ·Έλ¬λ, λΉμ μ λͺ©νκ° μ§μ ν μ§μ ν [Pythonista](https://www.urbandictionary.com/define.php?term=pythonista)μ΄ λλ κ² μ΄λΌλ©΄ μ΄λ¬ν νλ μμν¬μ μμ€ μ½λλ₯Ό μ½λ κ²μ λ§€μ° κ³ λ¬΄μ μ΄κ³ κΆμ₯μ΄ λ©λλ€.
## μμνκΈ°
[](https://replit.com/github/huangsam/ultimate-python)
λ‘컬 μ»΄ν¨ν°μ Git λ° Pythonμ μ€μΉνμ§ μκ³ λ λΈλΌμ°μ μμ μμ
νκ²½μ μμνλ €λ©΄ μμ λ°°μ§λ₯Ό ν΄λ¦νμΈμ. μ΄λ¬ν
μꡬ μ¬νμ΄ μ΄λ―Έ μΆ©μ‘±λ κ²½μ°, μ μ₯μλ₯Ό λ°λ‘ cloneν΄λ λ©λλ€.
μ μ₯μμ μ κ·Όν μ μκ² λλ©΄ λ¨λ
λͺ¨λμμ λ°°μΈ μ€λΉκ° λ κ²μ
λλ€. κ° λͺ¨λμ μ΅λν νμ©νλ €λ©΄ λͺ¨λ μ½λλ₯Ό
μ½κ³ μ€ννμμμ€. λͺ¨λμ μ€ννλ λ κ°μ§ λ°©λ²μ΄ μμ΅λλ€:
1. λ¨μΌ λͺ¨λ μ€ν : `python ultimatepython/syntax/variable.py`
2. μ 체 λͺ¨λ μ€ν : `python runner.py`
## λͺ©μ°¨
π = μΈλΆ 리μμ€,
π° = μ΄κΈ μ£Όμ ,
π€― = κ³ κΈ μ£Όμ
1. **Python μ 보**
- κ°μ : [Pythonμ΄λ 무μμΈκ°](https://github.com/trekhleb/learn-python/blob/master/src/getting_started/what_is_python.md) ( π, π° )
- λμμΈ μ² ν : [The Zen of Python](https://www.python.org/dev/peps/pep-0020/) ( π )
- μ€νμΌ κ°μ΄λ : [Python μ½λ μ€νμΌ κ°μ΄λ](https://www.python.org/dev/peps/pep-0008/) ( π, π€― )
- λ°μ΄ν° λͺ¨λΈ : [λ°μ΄ν° λͺ¨λΈ](https://docs.python.org/3/reference/datamodel.html) ( π, π€― )
- νμ€ λΌμ΄λΈλ¬λ¦¬ : [Python νμ€ λΌμ΄λΈλ¬λ¦¬](https://docs.python.org/3/library/) ( π, π€― )
- λ΄μ₯ ν¨μ : [λ΄μ₯ ν¨μ](https://docs.python.org/3/library/functions.html) ( π )
2. **ν΅μ¬λ‘ **
- λ³μ : [λ΄μ₯ 리ν°λ΄](ultimatepython/syntax/variable.py) ( π° )
- ννμ : [μ«μ μ°μ°](ultimatepython/syntax/expression.py) ( π° )
- λΉνΈ μ°μ° : [λΉνΈ μ°μ°μ](ultimatepython/syntax/bitwise.py) ( π° ), [1μ 보μ/2μ 보μ](https://www.geeksforgeeks.org/difference-between-1s-complement-representation-and-2s-complement-representation-technique/) ( π )
- 쑰건문 : [if | if-else | if-elif-else](ultimatepython/syntax/conditional.py) ( π° )
- λ°λ³΅λ¬Έ : [for-loop | while-loop](ultimatepython/syntax/loop.py) ( π° )
- ν¨μ : [def | lambda](ultimatepython/syntax/function.py) ( π° )
- λ°λ€μ½λΌλ¦¬ μ°μ°μ : [ν λΉ ννμ :=](ultimatepython/syntax/walrus_operator.py) ( π€― )
- μΈμ κ°μ : [μμΉ μ μ© / | ν€μλ μ μ© *](ultimatepython/syntax/arg_enforcement.py) ( π€― )
3. **λ°μ΄ν° ꡬ쑰**
- 리μ€νΈ : [리μ€νΈ μ°μ°](ultimatepython/data_structures/list.py) ( π° )
- νν : [νν μ°μ°](ultimatepython/data_structures/tuple.py)
- μΈνΈ : [μΈνΈ μ°μ°](ultimatepython/data_structures/set.py)
- λμ
λ리 : [λμ
λ리 μ°μ°](ultimatepython/data_structures/dict.py) ( π° )
- λμ
λ리 ν©λ³ : [λμ
λ리 λ³ν© | λ° |=](ultimatepython/data_structures/dict_union.py) ( π€― )
- μ»΄ν리ν¨μ
: [리μ€νΈ | νν | μΈνΈ | λμ
λ리](ultimatepython/data_structures/comprehension.py)
- λ¬Έμμ΄ : [λ¬Έμμ΄ μ°μ°](ultimatepython/data_structures/string.py) ( π° )
- λ±: [deque](ultimatepython/data_structures/deque.py) ( π€― )
- Namedtuple: [namedtuple](ultimatepython/data_structures/namedtuple.py) ( π€― )
- Defaultdict: [defaultdict](ultimatepython/data_structures/defaultdict.py) ( π€― )
- μ΄ν°λ μ΄ν° λꡬ: [μ΄ν°λ μ΄ν° λꡬ](ultimatepython/data_structures/itertools.py) ( π€― )
- μκ° λ³΅μ‘λ : [cPython μ°μ°](https://wiki.python.org/moin/TimeComplexity) ( π, π€― )
4. **ν΄λμ€**
- κΈ°λ³Έ ν΄λμ€ : [κΈ°λ³Έ μ μ](ultimatepython/classes/basic_class.py) ( π° )
- κ³μΉ: [κ³μΉ](ultimatepython/classes/inheritance.py) ( π° )
- μΆμ ν΄λμ€ : [μΆμ μ μ](ultimatepython/classes/abstract_class.py)
- μμΈ ν΄λμ€ : [μμΈ μ μ](ultimatepython/classes/exception_class.py)
- μ΄ν°λ μ΄ν° ν΄λμ€ : [μ΄ν°λ μ΄ν° μ μ | yield](ultimatepython/classes/iterator_class.py) ( π€― )
- μΊ‘μν: [μΊ‘μν μ μ](ultimatepython/classes/encapsulation.py)
5. **κ³ κΈ**
- λ°μ½λ μ΄ν° : [λ°μ½λ μ΄ν° μ μ | wraps](ultimatepython/advanced/decorator.py) ( π€― )
- νμΌ μ²λ¦¬: [νμΌ μ²λ¦¬](ultimatepython/advanced/file_handling.py) ( π€― )
- 컨ν
μ€νΈ λ§€λμ : [컨ν
μ€νΈ λ§€λμ ](ultimatepython/advanced/context_manager.py) ( π€― )
- λ©μλ κ²°μ μμ : [mro](ultimatepython/advanced/mro.py) ( π€― )
- λ―Ήμ€μΈ : [λ―Ήμ€μΈ μ μ](ultimatepython/advanced/mixin.py) ( π€― )
- λ©νν΄λμ€ : [λ©νν΄λμ€ μ μ](ultimatepython/advanced/meta_class.py) ( π€― )
- μ€λ λ : [ThreadPoolExecutor](ultimatepython/advanced/thread.py) ( π€― )
- Asyncio : [async | await](ultimatepython/advanced/async.py) ( π€― )
- μ½ν μ°Έμ‘° : [weakref](ultimatepython/advanced/weak_ref.py) ( π€― )
- λ²€μΉλ§ν¬ : [cProfile | pstats](ultimatepython/advanced/benchmark.py) ( π€― )
- λͺ¨νΉ : [MagicMock | PropertyMock | patch](ultimatepython/advanced/mocking.py) ( π€― )
- μ κ·μ : [search | findall | match | fullmatch](ultimatepython/advanced/regex.py) ( π€― )
- λ°μ΄ν° ν¬λ§· : [json | xml | csv](ultimatepython/advanced/data_format.py) ( π€― )
- λ μ§μ μκ° : [datetime | timezone](ultimatepython/advanced/date_time.py) ( π€― )
- ν¨ν΄ λ§€μΉ: [match | case](ultimatepython/advanced/pattern_matching.py) ( π€― )
## μΆκ° μλ£
π = μΈν°λ·° μλ£,
π§ͺ = μ½λ μν,
π§ = νλ‘μ νΈ μμ΄λμ΄
### GitHub μ μ₯μ
μ μλ €μ§ λ€λ₯Έ μλ£λ₯Ό μ½μΌλ©΄μ κ³μ λ°°μ°μΈμ.
- [TheAlgorithms/Python](https://github.com/TheAlgorithms/Python) ( π , π§ͺ )
- [faif/python-patterns](https://github.com/faif/python-patterns) ( π , π§ͺ )
- [geekcomputers/Python](https://github.com/geekcomputers/Python) ( π§ͺ )
- [trekhleb/homemade-machine-learning](https://github.com/trekhleb/homemade-machine-learning) ( π§ͺ )
- [karan/Projects](https://github.com/karan/Projects) ( π§ )
- [MunGell/awesome-for-beginners](https://github.com/MunGell/awesome-for-beginners) ( π§ )
- [vinta/awesome-python](https://github.com/vinta/awesome-python)
- [academic/awesome-datascience](https://github.com/academic/awesome-datascience)
- [josephmisiti/awesome-machine-learning](https://github.com/josephmisiti/awesome-machine-learning)
- [ZuzooVn/machine-learning-for-software-engineers](https://github.com/ZuzooVn/machine-learning-for-software-engineers)
- [30-seconds/30-seconds-of-python](https://github.com/30-seconds/30-seconds-of-python) ( π§ͺ )
- [ml-tooling/best-of-python](https://github.com/ml-tooling/best-of-python)
- [practical-tutorials/project-based-learning](https://github.com/practical-tutorials/project-based-learning#python)
- [freeCodeCamp/freeCodeCamp](https://github.com/freeCodeCamp/freeCodeCamp) ( π )
- [microsoft/ML-For-Beginners](https://github.com/microsoft/ML-For-Beginners) ( π§ͺ )
- [microsoft/Data-Science-For-Beginners](https://github.com/microsoft/Data-Science-For-Beginners) ( π§ͺ )
- [Avik-Jain/100-Days-Of-ML-Code](https://github.com/Avik-Jain/100-Days-Of-ML-Code) ( π§ͺ )
### μ μμ νλ‘μ νΈ
μ΄λ¬ν κ°λ
μ μ΅ν ν 무μμ λ§λ€ μ μλμ§ λ³΄μ¬μ£Όλ PythonμΌλ‘ μ μν νλ‘μ νΈλ€μ
λλ€:
- [huangsam/chowist](https://github.com/huangsam/chowist) ( π§ͺ )
- [huangsam/githooks](https://github.com/huangsam/githooks) ( π§ͺ )
- [huangsam/ragchain](https://github.com/huangsam/ragchain) ( π§ͺ )
- [huangsam/mailprune](https://github.com/huangsam/mailprune) ( π§ͺ )
### λνν μ°μ΅
μ½λ© μ€λ ₯μ΄ λ
Ήμ¬μ§ μκΈ° μν΄ κ³μ μ°μ΅νμΈμ.
- [codechef.com](https://www.codechef.com/) ( π )
- [codeforces.com](https://codeforces.com/)
- [codementor.io](https://www.codementor.io) ( π§ )
- [coderbyte.com](https://www.coderbyte.com/) ( π )
- [codewars.com](https://www.codewars.com/)
- [exercism.io](https://exercism.io/)
- [geeksforgeeks.org](https://www.geeksforgeeks.org/) ( π )
- [hackerearth.com](https://www.hackerearth.com/)
- [hackerrank.com](https://www.hackerrank.com/) ( π )
- [kaggle.com](https://www.kaggle.com/) ( π§ )
- [labex.io](https://labex.io/exercises/python)( π§ͺ )
- [leetcode.com](https://leetcode.com/) ( π )
- [projecteuler.net](https://projecteuler.net/)
- [replit.com](https://replit.com/)
- [w3schools.com](https://www.w3schools.com/python/) ( π§ͺ )
- [teclado.com](https://teclado.com/30-days-of-python/#prerequisites) ( π )
- [fullstakpython.org](https://fullstackpython.org/) ( π§ͺ )
## μλμ λ³ κ΄μΈ‘μ
[](https://starchart.cc/huangsam/ultimate-python)