PyDocs

Nav

Data Compression and Archiving

TarInfo.tobuf

tarfile

method of TarInfo (source)
  • TarInfo.tobuf(format=DEFAULT_FORMAT, encoding=ENCODING, errors='surrogateescape')
Return a tar header as a string of 512 byte blocks.
Changed in 3.2
  • 3.2: Use 'surrogateescape' as the default for the errors argument.
0 Examples
No examples for tarfile/TarInfo.tobuf.
See Also
No see-alsos for tarfile/TarInfo.tobuf
0 Notes
No notes for TarInfo.tobuf