Dave Brondsema

Number of videos:
Decorators and Context Managers
PyCon US 2012
Dave Brondsema
Recorded: March 9, 2012Language: English

Learn how decorators and context managers work, see several popular examples, and get a brief intro to writing your own. Decorators wrap your functions to easily add more functionality. Context managers use the 'with' statement to make indented blocks magical. Both are very powerful parts of the python language; come learn how to use them in your code.