Easiest way to access C module in Python
Grant Edwards
grant.b.edwards at gmail.com
Mon Nov 6 20:59:34 EST 2017
On 2017-11-06, John Pote <johnpote at jptechnical.co.uk> wrote:
> I have successfully used Python to perform unit and integration tests in
> the past and I'd like to do the same for some C modules I'm working with
> at work. There seem to be a number of ways of doing this but being busy
> at work and home I looking for the approach with the least learning curve.
When I want to test C modules (usually destined for an embedded
system) using a Python framework, I use ctypes.
https://docs.python.org/3/library/ctypes.html
--
Grant
More information about the Python-list
mailing list