Glossary coding Term Page

Context manager

a structure that groups the code run when a `with` block starts and ends

context-manager #coding#python
Korean version

Related Concepts

Core Idea

Context manager is a structure that groups the code run when a with block starts and ends. It usually makes the most sense alongside with statement, [[enter-exit|enter/exit]], ExitStack.

Why It Matters Here

Mathbong reuses this term across python posts as shared vocabulary.

Posts Mentioning This Concept