def copy_c_string(c_string):
 s = ctypes.cast(c_string, ctypes.c_char_p).value
 return ('' + s)

def copy_c_string ( c_string ) : s = ctypes . cast ( c_string , ctypes . c_char_p ) . value return ( '' + s )
copy a ctypes .