commit python examples