pythonic cpp