code: def teepickle(table, source=None, protocol=-1, write_header=True):
      
  
      return TeePickleView(table, source=source, protocol=protocol,
                           write_header=write_header)
docs: Return a table that writes rows to a pickle file as they are iterated
      over.