Update/add Python datatypes examples using current API.

This still needs lots of work as the examples, like with Erlang, don't
necessarily translate directly.