Context Managers, Decorators, and Google App Engine

This is a past event

33 people went

Assembly Coworking Space

119 14 Street Northwest · Calgary, AB

How to find us

Take the elevator to the 4th floor, then turn left.

Location image of event venue


This month:

• We’ll get an in-depth talk on Python context managers from Kurt Neufeld. Context managers let you encapsulate code that has to run before or after some other action. One typical use is to automatically close a file after reading from it, even if an exception gets raised, but context managers have more powerful uses too.

• Decorators, which are functions or classes that can transform other functions or classes, will be covered by Mike Warren. He’ll go over exactly what that means and how it works, and show us examples like @memoize, which can automatically cache function results.

• Writing Python apps for Google App Engine—Abhinav Rastogi will give us an introduction, covering how to deploy your app, local development, testing, logging, and the features and restrictions of the platform. Follow along by registering a trial account at . After the initial trial period, you can keep running your app for free up to the daily limits (

• Walter Simbirski, City of Calgary Open Data Strategist, will tell us about an upcoming hackathon.

Doors open at 5:45 p.m. See you then!