python c extensions are modules written in C/C++ and can be imported and used by python interpreter
Questions tagged [python-c-extension]
257 questions
-1
votes
1 answer
How do I install libsandbox? I have some problems during installation
I have some problems installing libsandbox and pysandbox. I've tried with binary and source packages but no. It seems to do OK but, when I run:
from sandbox import *
it displays
Traceback (most recent call last):
File "", line 1, in…

elMauNunez
- 3
- 2
-2
votes
1 answer
how to resize and subtract numpy arrays in c++
I have two numpy 3D-array in python with different height and width. I want to pass them to my C-Extension. How can I resize and subtract them in c++? Please see the comments in the code.
static PyObject *my_func(PyObject *self, PyObject …

Iman
- 424
- 5
- 18