Friday, November 14, 2014

Python use dll

Use dll in Python

from ctypes import*
mydll = cdll.LoadLibrary("my_library.dll")
result1= mydll.addition(8,20)
result2= mydll.subtraction(9,8)
print(result1,result2)


Author:MarcinLanguage:Python 3.4Info: How to use dll functions in your python script. This is also possible with the    windows api dll's ,)

No comments:

Post a Comment