Skip to content

Boilerplate to decorators, via context managers

Photo of Patrick Morris
Hosted By
Patrick M.
Boilerplate to decorators, via context managers

Details

Dear Pythonistas,

our beloved organizer Patrick Morris has been looking into and implementing the use of context managers and decorators in Python to reduce the amount of boiler plate code and to easily expand the functionality of existing code. This talk would show the process I went through from the initial code with lots of repeated boilerplate to introducing context managers and then to using decorators instead. This would serve as an introduction to these cool and useful features of Python.

45 minutes + questions

Followed by pizza and drinks

PLEASE NOTE : We will need your first and last name to pass onto security so you can gain access to the building. Usually this will come from your meetup profile but if you don't want to put in your full details then please message the organizers with them and we will manually add them.

Also we are not able to admit anyone under 18

Photo of London Python group
London Python
See more events