Re: [capi-sig] Beginner Question PyObject* to int
2008/11/12 Stefan Behnel <stefan_ml@behnel.de>:
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.
Or http://cxx.sourceforge.net/
-- K.Danilov aka KoDer ICQ:214286120 Skype:koder.ua Tel:8-050-4030512 Jabber:koder_ua@jabber.ru
KoDer wrote:
2008/11/12 Stefan Behnel:
Since you're just starting, it's generally worth looking into Cython first, before investing time to learn the raw Python C-API.
Interesting, I hadn't heard of it yet. Definitely has a steeper learning curve for a Python developer than Cython, but it looks like C++ developers could benefit from it.
Stefan
participants (2)
-
KoDer
-
Stefan Behnel