Python: using ctypes
I need to use Dll from python using ctypes but I read the tutorial and I don´t understand anything!!
I 开发者_开发知识库wants to load the dll from path and access to its functions...
SOS!!
Thanks
import ctypes
foo = ctypes.CDLL("/path/to/library")
foo.function_name()
You should maybe look for a better tutorial. Here is one: http://python.net/crew/theller/ctypes/tutorial.html
精彩评论