How to iterate over a ctypes array in python? -


a = ((c_char*2)*2)(('a','b'),('c','d')) out::<__main__.c_char_array_2_array_2 @ 0x47da8c8>  b = [cast(i, c_char_p) in a]  b  out::[c_char_p('abcd'), c_char_p('cd')] 

how can iterate output

out::[c_char_p('ab'), c_char_p('cd')] 


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -