Python sample code for Capy