YaZuiBi's recent timeline updates
YaZuiBi

YaZuiBi

V2EX member #326659, joined on 2018-07-03 22:59:18 +08:00
YaZuiBi's recent replies
Jan 4, 2021
Replied to a topic by RingSunKaiya Python Python 中如何直接 import 某个 dll
@RingSunKaiya 可以的,但是语法需要能够转成 Python 模块才行。

https://blog.csdn.net/pengyancai/article/details/54587955?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.control&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.control

另外你这里的.dll 文件,要是装了 VS,用
dumpbin.exe -exports xxx.dll 看看链接库的对外接口,防止这个文件不是真正的 dll 文件
Jan 4, 2021
Replied to a topic by coloz 程序员 各地健康码的验证接口哪里可以查到呢
Jan 4, 2021
Replied to a topic by RingSunKaiya Python Python 中如何直接 import 某个 dll
利用 C/C++创建 python 模块,里面用 LoadLibrary(动态链接库文件)加载动态链接库,然后打包成 xxx.pyd ,然后在 python 中 import xxx 就可以用。
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5651 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 15ms · UTC 07:31 · PVG 15:31 · LAX 00:31 · JFK 03:31
♥ Do have faith in what you're doing.