convert list of floats into buffer in python?,"return struct.pack('f' * len(data), *data)"