@with_open_mode('rb')
@with_sizes('medium')
def read_seek_blockwise(f):
 f.seek(0)
 while f.read(1000):
  f.seek(1000, 1)

@ with_open_mode ( 'rb' ) @ with_sizes ( 'medium' ) def read_seek_blockwise ( f ) : f . seek ( 0 ) while f . read ( 1000 ) : f . seek ( 1000 , 1 )
alternate read & seek 1000 units .