PyDocs

Nav

Data Compression and Archiving

BZ2File.peek

bz2

method of BZ2File · Added in 3.3 (source)
  • BZ2File.peek([n])
Return buffered data without advancing the file position.

Always returns at least one byte of data, unless at EOF.
The exact number of bytes returned is unspecified.
0 Examples
No examples for bz2/BZ2File.peek.
See Also
No see-alsos for bz2/BZ2File.peek
0 Notes
No notes for BZ2File.peek