python to cpp