tarfile

(Python version: 2.7.10)

 

gzipやbz2圧縮されたものも含めて、tarアーカイブの読み書きができます。 (.zip ファイルの読み書きは zipfile モジュールで可能です。)


upper level

 

AREGTYPE

BLKTYPE
BLOCKSIZE

CHRTYPE
CONTTYPE
CompressionError

DEFAULT_FORMAT
DIRTYPE

ENCODING
EOFHeaderError
EmptyHeaderError
ExFileObject
ExtractError

FIFOTYPE

GNUTYPE_LONGLINK
GNUTYPE_LONGNAME
GNUTYPE_SPARSE
GNU_FORMAT
GNU_MAGIC
GNU_TYPES

HeaderError

InvalidHeaderError

LENGTH_LINK
LENGTH_NAME
LENGTH_PREFIX
LNKTYPE

NUL

PAX_FIELDS
PAX_FORMAT
PAX_NUMBER_FIELDS
POSIX_MAGIC

RECORDSIZE
REGTYPE
REGULAR_TYPES
ReadError

SOLARIS_XHDTYPE
SUPPORTED_TYPES
SYMTYPE
S_IFBLK
S_IFCHR
S_IFDIR
S_IFIFO
S_IFLNK
S_IFREG
StreamError
SubsequentHeaderError

TAR_GZIPPED
TAR_PLAIN
TGEXEC
TGREAD
TGWRITE
TOEXEC
TOREAD
TOWRITE
TSGID
TSUID
TSVTX
TUEXEC
TUREAD
TUWRITE
TarError
TarFile
TarFileCompat
TarInfo
TarIter
TruncatedHeaderError

USTAR_FORMAT

XGLTYPE
XHDTYPE

_BZ2Proxy
_FileInFile
_LowLevelFile
_Stream
_StreamProxy
__all__
__author__
__builtins__
__credits__
__cvsid__
__date__
__doc__
__file__
__name__
__package__
__version__
_data
_hole
_ringbuffer
_section

bltn_open

calc_chksums
copy
copyfileobj

errno

filemode
filemode_table

grp

is_tarfile
itn

nti
nts

open
operator
os

pwd

re

shutil
stat
stn
struct
sys

time

uts

version

English
English