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

Pass Command Line Arguments To Python 2.7.6 Package Application Using C Api

I'm new to python and now I need to call a python 2.7.6 program using its C API. The python pro… Read more Pass Command Line Arguments To Python 2.7.6 Package Application Using C Api

Python Works In C++ In Debug Mode, But Not In Exe File

I am working on a Python code embedding in c++ helloworld program, necessary additional include/li… Read more Python Works In C++ In Debug Mode, But Not In Exe File

Numpy/capi Error With Import_array() When Compiling Multiple Modules

I am trying to compile a C++ module to use in scipy.weave that is composed of several headers and s… Read more Numpy/capi Error With Import_array() When Compiling Multiple Modules

Printing A Variable In An Embedded Python Interpreter

I have written a small C program that embeds Python. I'm setting it up correctly using Py_Initi… Read more Printing A Variable In An Embedded Python Interpreter

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

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

Pyarg_parsetuple Segfaults In Capi

I am writing a code, trying to get used to the C API of NumPy arrays. #include #include 'nump… Read more Pyarg_parsetuple Segfaults In Capi

"no Module Named '_'" When Importing A Swig Module With Embedded Python

I'm trying to use SWIG with embedded Python 3.5.2. The following is built as a Windows console … Read more "no Module Named '_'" When Importing A Swig Module With Embedded Python