# Module: tf.compat.v1.python_io

<br />

Python functions for directly manipulating TFRecord-formatted files.

## Classes

[`class TFRecordCompressionType`](https://www.tensorflow.org/versions/r2.14/api_docs/python/tf/compat/v1/io/TFRecordCompressionType): The type of compression for the record.

[`class TFRecordOptions`](https://www.tensorflow.org/versions/r2.14/api_docs/python/tf/io/TFRecordOptions): Options used for manipulating TFRecord files.

[`class TFRecordWriter`](https://www.tensorflow.org/versions/r2.14/api_docs/python/tf/io/TFRecordWriter): A class to write records to a TFRecords file.

## Functions

[`tf_record_iterator(...)`](https://www.tensorflow.org/versions/r2.14/api_docs/python/tf/compat/v1/io/tf_record_iterator): An iterator that read the records from a TFRecords file. (deprecated)