def getDMCframe(f, iFrm: int, finf: dict, verbose: bool=False):
<EOL>currByte = iFrm * finf['<STR_LIT>']<EOL><INDENT>advance to start of frame in bytes<EOL><DEDENT>if verbose:<EOL><INDENT>print(f'<STR_LIT>')<EOL><DEDENT>assert isinstance(iFrm, (int, int64)), '<STR_LIT>'<EOL>try:<EOL><INDENT>f.seek(currByte, <NUM_LIT:0>)<EOL><DEDENT>except IOError as e:<EOL><INDENT>raise IOError(f'<STR_LIT>'<EOL>'<STR_LIT>')<EOL>
f is open file handle