官网:https://docs.python.org/2.6/library/ctypes.html?highlight=ctype#module-ctypes
ctypes 的简单使用。
ctypes 第一个程序hello world!
from ctypes import *
libc = CDLL("libc.so.6")
libc.printf("hello,world!")
转载于:https://blog.51cto.com/51leih/1425150
官网:https://docs.python.org/2.6/library/ctypes.html?highlight=ctype#module-ctypes
ctypes 的简单使用。
ctypes 第一个程序hello world!
from ctypes import *
libc = CDLL("libc.so.6")
libc.printf("hello,world!")
转载于:https://blog.51cto.com/51leih/1425150