I have allocated an array and cast it using the Python ctypes module:
dataC = ctypes.cast(crt.malloc(size), ctypes.POINTER(ctypes.c_ubyte))
in order to get byte data from a C library:
someClib.getData(handle, dataC)
Now this array is actually an array of C float types. How can I convert it to a Python list of floating type numbers?