How can I use a DLL file from Python?

前端 未结 7 1442
迷失自我
迷失自我 2020-11-22 16:06

What is the easiest way to use a DLL file from within Python?

Specifically, how can this be done without writing any additional wr

7条回答
  •  执念已碎
    2020-11-22 16:30

    ctypes can be used to access dlls, here's a tutorial:

    http://docs.python.org/library/ctypes.html#module-ctypes

提交回复
热议问题