I try to port my code from python 2.7 to 3.4. Under 2.7 it works quite well. I will import a Picoscope binary file and get the following error under Python 3.4 (ubuntu):
You need to read the files in binary mode:
bin_file_A = open(infile_A, "rb") bin_file_B = open(infile_B, "rb")