Skip to content Skip to sidebar Skip to footer
Showing posts with the label Ctypes

Options For Callback From Python To C++

Hello i've been trying to call a python user-defined callback from c++ using cython for a while… Read more Options For Callback From Python To C++

How Do I Convert A Python List Of Lists Of Lists Into A C Array By Using Ctypes?

As seen here How do I convert a Python list into a C array by using ctypes? this code will take a p… Read more How Do I Convert A Python List Of Lists Of Lists Into A C Array By Using Ctypes?

Casting An Array Of C Structs To A Numpy Array

A function I'm calling from a shared library returns a structure called info similar to this: t… Read more Casting An Array Of C Structs To A Numpy Array

How Do I Package For Distribution A Python Module That Uses A Shared Library?

I'm writing some bindings for a C library and am not sure how to configure all this for distrib… Read more How Do I Package For Distribution A Python Module That Uses A Shared Library?

Seg Fault When Using Ctypes With Python And C++

I am trying to get up and running with using ctypes to call C++ libraries from Python 2.7 on a Linu… Read more Seg Fault When Using Ctypes With Python And C++

How To Enable Fips Mode For Libcrypto And Libssl Packaged With Python?

I have a python application which comes packaged with Python and Libcrypto and LibSSL shared object… Read more How To Enable Fips Mode For Libcrypto And Libssl Packaged With Python?

Occasional Ctypes Error Importing Numpy From Mod_wsgi Django App

Here's the setup: Django (1.2) app on mod_wsgi that imports ctypes Python 2.6.5 Apache 2.2.3 S… Read more Occasional Ctypes Error Importing Numpy From Mod_wsgi Django App

Ctypes Structure Autocomplete

How is that possible for Python IDE(any) Intellisense to discover structure members in design time?… Read more Ctypes Structure Autocomplete