我想用c编写代码,但是通过将c源文件编译为.so文件来使用python中的值。
ctypes 库可能是执行此操作的最简单方法。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.