Is that possible?
I'm going to make a calculation program in C language and make the interface Python, but I don't know how to mix the two methods <
python
Python's extension is a worry because there are so many ways.
You can call the so, dll library directly using ctypes.
Next is the expansion module.There are also various support modules in the extended module range. Of course, the purpose of this module is to automatically generate wrapper codes.
How to write c/c++ code one at a time, even though it's the least productive.This method is written one by one by one by the developer, so you can create a clean, unmixed code.
However, because large libraries are too productive to wrap, they usually use related modules. Representative things are described in the link.
https://wiki.python.org/moin/IntegratingPythonWithOtherLanguages
I personally recommend Cython for the module I recommend, and I recommend using the sython magic of Jupyter for the development environment.
554 Who developed the "avformat-59.dll" that comes with FFmpeg?
553 Understanding How to Configure Google API Key
556 PHP ssh2_scp_send fails to send files as intended
554 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
551 GDB gets version error when attempting to debug with the Presense SDK (IDE)
© 2024 OneMinuteCode. All rights reserved.