新建   展示   相册  列表  网摘
 

Kreos

Kreos 无所不能

2025年12月23日 #

在 Python 中调用 C 语言(2) 如何编译 python.h

摘要: 在 Python 中调用 C 语言(1)在 Python 中调用 C 语言(2) https://docs.python.org/zh-cn/3.14/extending/extending.html https://docs.python.org/zh-cn/3.14/c-api/ 如何编译 py 阅读全文

posted @ 2025-12-23 14:14 前沿风暴 阅读(52) 评论(0) 推荐(0)

在 Python 中调用 C 语言(1) (测试可用)

摘要: 在 Python 中调用 C 语言(1) 在 Python 中调用 C 语言(2) https://docs.python.org/zh-cn/3.14/extending/extending.html https://docs.python.org/zh-cn/3.14/c-api/ python 阅读全文

posted @ 2025-12-23 11:27 前沿风暴 阅读(22) 评论(0) 推荐(0)

Lua调用c语言的函数

摘要: 未测试lua只识别动态库,c语言需要编译被调用模块,然后编译成动态库。 那么lua怎么识别c语言的动态库的函数呢?lua只识别以luaopen开头的函数。 5.4、完整示例代码注意:在Linux上直接使用apt-get安装的lua是没有自动安装lua库的,需要下载lua的源码编译安装。 tbl.c 阅读全文

posted @ 2025-12-23 11:00 前沿风暴 阅读(41) 评论(0) 推荐(0)

我的python头文件 - 支持包

摘要: 序号 名称 指令 1 界面 pip install pyautogui 2 串口 pip install pyserial 3 图表 pip install matplotlib 4 lua pip install lupa 5 打包 pip install pyinstaller 6 编译C pi 阅读全文

posted @ 2025-12-23 10:09 前沿风暴 阅读(12) 评论(0) 推荐(0)

导航


校内网 © 2004-2026

京公网安备 33010602011771号 京ICP备2021040463号-3