未分類 2 5 月 2020 Python 怎么直接打包成 DLL Python 怎么直接打包成 DLL 資深大佬 : Eender 70 请问一下 python 怎么打包成 DLL,cython 除外,感觉太麻烦 大佬有話說 (7) 資深大佬 : tangbao mv python.py python.dll 資深大佬 : PTLin 可以用 C 直接撸,更麻烦,参考 https://python3-cookbook.readthedocs.io/zh_CN/latest/c15/p02_write_simple_c_extension_module.html。 資深大佬 : ysc3839 “打包成 DLL”指的是什么?用 Python 编写 DLL 给别的程序调用? 資深大佬 : hehheh 我就是好奇,cython 为什么麻烦? 主 資深大佬 : Eender ironpython 可以直接打包,但是为啥调用报错?有没有大佬玩过的? 資深大佬 : antmanler 用 Cython 可行, 内部一个项目(由于第三方因素)用过FYI: http://docs.cython.org/en/latest/src/userguide/external_C_code.html 資深大佬 : gmywq0392 用 nuitka 编译成 so