example for python-c++ lists