[capi-sig] Beginner Question PyObject* to int

Stefan Behnel stefan_ml at behnel.de
Wed Nov 12 12:55:00 CET 2008

Philipp Heuser wrote:
> I am just starting to use the C API for Python. What I want to do is to
> use an external funtion availabele in C and therfore I want to 'convert'
> a list of floats from Python to an array of floats in C

Since you're just starting, it's generally worth looking into Cython
first, before investing time to learn the raw Python C-API.



More information about the capi-sig mailing list