merge cpp & python code