Topic

The Enters and Exits of Context Managers By: Mason Egger
Date: Feb. 11, 2021, 6 p.m.

Have you ever opened a file using the with keyword in Python? That little keyword is one of the many fascinating parts of the Python programming language, the Context Manager. The Python Context Manager is a tool that allows the programmer to reliably create and tear down temporary contexts within a program. This allows programmers to reduce duplicate code, improving the maintainability and reliability of the code. This talk will cover all things Context Manager, from what they are, how to build them, when to use them, and more.

 

0 talk