+ 8
Call functions from other languages
Suppose I have written a function in C that outputs hello world and other stuff. Now the problem is, I want to import the c file into my python code and call the function within it. How can I do the task?
2 Answers
+ 4
Kirk Schafer I noticed from your codes that you used ctypes alot. Can I use that for doing this task?
+ 4
https://docs.python.org/3/extending/extending.html