python client example