Reading binary from a file...

KraftDiner bobrien18 at
Wed Mar 8 06:55:06 CET 2006

In python I'm able to read in binary data from a file.
data =  # Reads in an entire file.

However the data is 16bits per sample and python is storing the
data in a string.  How do I convert that 8bit data into a list of 16
bit integers?

Note: I want generic python lists or tupels not numpy or numeric etc

More information about the Python-list mailing list