Python v2.7.5 の Matlab(下記) からこのコードを翻訳したいと思います。手伝って頂けますか?
fseek (fid,128,'bof');
offset = fread (fid,1,'ushort');
while (offset > 0)
freeString = setstr (fread (fid,offset-2,'char'))';
if (findstr (freeString,'ACQUISITION_DATE') > 0)
date_rec=(freeString (length ('ACQUISITION_DATE '):length (freeString)));
end;
if (findstr (freeString,'ACQUISITION_TIME') > 0)
time_rec=(freeString (length ('ACQUISITION_TIME '):length (freeString)));
end;
if (findstr (freeString,'GENERAL_CONSTANT') > 0)
gen_const_rec=(freeString (length ('GENERAL_CONSTANT '):length (freeString)));
ありがとう、サミュエル