These are examples from an upcoming Python book. You're welcome to look, but note that it's a work in progress and hence unstable at the moment...