Python和C/C++之间数据转换的代码:
格式 Python C/C++
s str char*
z str/None char*/NULL
i int int
l long long
c str char
d float double
D complex Py_Complex*
O (any) PyObject*
S str PyStringObject
Python和C/C++之间数据转换的代码
最新推荐文章于 2024-02-29 22:48:16 发布