Switch examples to python