Skip to content

Context managers + Decorators

Photo of Sebastian Roll
Hosted By
Sebastian R.
Context managers + Decorators

Details

This event is hosted by Webstep. Food and drinks will be served from 16:30. Presentations start at 17:00.

Paul Anton Letnes is presenting on context managers:
All programming languages let you write functions to re-use code across your projects. You can call upon functions in the middle of your code to skip out of your current code, perform some task or computation, then return back where you were. Python's context managers let you up your game by letting you call code before and after some bit of code. This trick helps you write robust and readable code, python style. We will talk about some use cases for inspiration - war stories from the audience are warmly welcome!

We will also have a look at a related concept: the Python decorator.

Basic knowledge of python is sufficient to follow the discussion.

Photo of Trondheim Python Meetup group
Trondheim Python Meetup
See more events
Webstep AS
Kongens gate 16 · Trondheim