Category Archives: Python 3

Sharing Data Between C and Python 3

Today, I want to share a small Python 3 script that I wrote in order to ease the exchange of binary data between Python 3 and C code. For me, sharing data between Python and C is a reoccurring issue, since, usually, I find it more convenient to use Python in order to convert data between different formats and representations. C, on the other hand, usually gives me the raw speed Python cannot offer, but that is needed to do calculations with bigger data sets. Continue reading