how to convert a binary data into interger?

Posted by kaki on Stack Overflow See other posts from Stack Overflow or by kaki
Published on 2010-06-16T11:56:54Z Indexed on 2010/06/16 12:02 UTC
Read the original article Hit count: 202

Filed under:

when I am using the wave_read.readframes() I am getting the result in binary data such as /x00/x00/x00:/x16#/x05" etc a very long string

when asked for single frame it gives @/x00 or \xe3\xff or so

I want this individual frame data in integer how can I convert them into integer to store them into array.

© Stack Overflow or respective owner

Related posts about python