touch up the examples

this started as ``Redo python example``, but I got carried away..