The C Function to Iterate Over a PyList (PyObject) and Print Each Item (Python C API: PyObject_GetIter) February 1, 2023 c / c++, python No Comments We can call Python code in C via the Python C API. And we want to be able to go over the items for a PyList that is type … [Continue Reading...]