Added python example (implementation lacks guards