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

Ctypes: Mapping A Returned Pointer To A Structure

I have tried reading all the questions/answers on this topic but I could not get anything to work. … Read more Ctypes: Mapping A Returned Pointer To A Structure

Python Ctypes: Wraping C++ Class With Operators

I want to wrap a small test C++ class for use in python using ctypes. The class is called Edge and … Read more Python Ctypes: Wraping C++ Class With Operators

Can A Python Program Be Run On A Computer Without Python? What About C/c++?

Can I create a Python program, send it to a remote computer, and run it there without that computer… Read more Can A Python Program Be Run On A Computer Without Python? What About C/c++?

Best Way To Extend Python / Numpy Performancewise

As there are multitude of ways to write binary modules for python, i was hopping those of you with … Read more Best Way To Extend Python / Numpy Performancewise

Modbus Rtu Crc16 Calculation

I'm coding a MODBUS CRC16 calculator in C. What I have before is a python that do this, I wante… Read more Modbus Rtu Crc16 Calculation

How To Call A Builtin Function (or Method) From C Code Of A Python Extension Module?

What I currently want to accomplish is to tweak Pythons itertools module function combinations to … Read more How To Call A Builtin Function (or Method) From C Code Of A Python Extension Module?

How To Fix 'unicodedecodeerror: 'utf-8' Codec Can't Decode Byte' When Using Python C Extensions?

Given the following file bug.txt: event 'øat' not handled I wrote the following Python C E… Read more How To Fix 'unicodedecodeerror: 'utf-8' Codec Can't Decode Byte' When Using Python C Extensions?

What Version Of Visual Studio And/or Mingw Do I Need To Build Extension Modules For A Given Version Of Python?

To put this question a different way, what version of Visual C++ was each official build of Python … Read more What Version Of Visual Studio And/or Mingw Do I Need To Build Extension Modules For A Given Version Of Python?