标签:动态 types printf port pes libc ctypes load bsp
1、引用so库:
from ctypes import *
>>>CDLL("libc.so.6").printf("12345\n")
12345
>>>cdll.LoadLibrary("libc.so.6").printf("12345\n")
12345
2、引用DLL库:
标签:动态 types printf port pes libc ctypes load bsp
原文地址:http://www.cnblogs.com/fushou/p/7275219.html