python: added two examples from community (this is so great!)