Mimicking behaviour of Mayhem in Python
<p>I have just been reading about Mayhem: "The key to Mayhem is that it only supports a single programming construct – when an event happens, do a reaction." (http://mayhem.codeplex.com/)</p>

<p>Forgetting about the UI what would you say are the essentials of what Mayhem is doing, and how would you do it in an up-to-date way with Python?</p>

<p>Thanks for your answer.</p>
