Efficient handling of fast, real-time hex data

jladasky at itu.edu jladasky at itu.edu
Tue May 31 21:26:04 EDT 2016


On Tuesday, May 31, 2016 at 5:36:10 PM UTC-7, Michael Torrie wrote:
> 
> I think you might want to use the struct module. It's designed for this
> kind of packing and unpacking:
> 
> https://docs.python.org/3/library/struct.html

Hi Michael,

Thanks for pointing me at the struct module.  There appears to be some redundancy between the numpy.frombuffer function and Python's own struct module.  If the latter doesn't work out for me, I'll try the former.





More information about the Python-list mailing list