Skip to content Skip to sidebar Skip to footer
Showing posts with the label Python C Api

Return List Of New Custom-class Objects In Python C Api

I need to create a new list via the python C API containing new copies of objects of a Quaternion c… Read more Return List Of New Custom-class Objects In Python C Api

Is It Possible To Cast Dtype Of Scipy Csr Matrix To Npy_float?

I have a scipy CSR matrix that was constructed from a COO matrix as follows: coord_mat = coo_matrix… Read more Is It Possible To Cast Dtype Of Scipy Csr Matrix To Npy_float?

How To Tidy/fix Pycxx's Creation Of New-style Python Extension-class?

I've nearly finished rewriting a C++ Python wrapper (PyCXX). The original allows old and new st… Read more How To Tidy/fix Pycxx's Creation Of New-style Python Extension-class?

Embedding Python Into C - Importing Modules

I am having problems using the Embedded Python for C as per the Documentation - Whenever I try usin… Read more Embedding Python Into C - Importing Modules

How To Call A Python Function By Name From The C-api?

From the c-api, I would like to call a python function by name. I would then be calling the functi… Read more How To Call A Python Function By Name From The C-api?

Pyobject Segfault On Function Call

I'm trying to use Python to open a dialog to accept input into my C++ application. Here is a v… Read more Pyobject Segfault On Function Call

Memory Leak When Embedding Python Into My Application

The following program, when linked against python 2.7.13 and run on Windows 10 slowly but steadily … Read more Memory Leak When Embedding Python Into My Application