Systematic Keyboard Handling, Part 2 CODE
Channel: drewsadavoy
Date: 2013-06-18

The video was 34 seconds too long so I had to split it into two parts.
This is the second part - the code.
Here is a link to the introduction: http://youtu.be/M_FDBdfT524

Here are the links for both parts:
Code: http://www.codeskulptor.org/#user16_Gt1zW50WAiccPbF_1.py
Python Docs on Lambda: http://docs.python.org/2/reference/expressions.html#lambda