import ctypeslib = ctypes.cdll.LoadLibrary('example.dll')check = lib.checkcheck.argtypes = [ctypes.c_char_p]check.restype = ctypes.c_char_p