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

Can I Develop C Extensions For Python 2.7 Through 3.1 On Windows *without* Installing Visual Studio 2008?

I'm aware that Python extensions on Windows typically have to be built with the same version of… Read more Can I Develop C Extensions For Python 2.7 Through 3.1 On Windows *without* Installing Visual Studio 2008?

Obtaining Address Of Custom Data-type In C From Python Using Ctypes

I have a vector struct in C with the following fields, struct vector { unsigned char* data; … Read more Obtaining Address Of Custom Data-type In C From Python Using Ctypes

Return The Include And Runtime Lib Directories From Within Python

Lets say I want to use gcc from the command line in order to compile a C extension of Python. I'… Read more Return The Include And Runtime Lib Directories From Within Python