上传者: 38687648
|
上传时间: 2022-06-09 10:25:06
|
文件大小: 47KB
|
文件类型: PDF
python使用ctypes调用C/C++
1. ctpes介绍
ctypes is a foreign function library for Python. It provides C compatible data types, and allows calling functions in DLLs or shared libraries. It can be used to wrap these libraries in pure Python.
官方文档地址: https://docs.python.org/3/library/ctypes.html
2.使用ctypes调用