Hi frenz,
Many of the programs are written in C/C++ language. I want to call a function in C/C++ from python program.
Can anybody tell me how to do it?
sasdap 0
Newbie Poster
Recommended Answers
Jump to PostWrite your C functions and compile to a DLL, then access similar to this example ...
# using the module ctypes you can access DLLs written in C/C++ # ctypes converts between Python types and C types # there are two ways to write DLLs: # most …
All 3 Replies
vegaseat 1,735
DaniWeb's Hypocrite Team Colleague
sasdap 0
Newbie Poster
vegaseat 1,735
DaniWeb's Hypocrite Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.