jweinst1
7/2/2017 - 7:18 PM

how to load any so to python

how to load any so to python

from ctypes import *
import os

xss = cdll.LoadLibrary(os.path.abspath("libxss.so.1"))
print xss.xss_test_1()