more than once in the archiveinformation for the last entry is returned (which is assumed to be the more recentt getmembers(returns list of tarinfo objects for all members of the archive getnames(returns list of all archive member names gettarinfo([name [arcname [fileobj]]]returns tarinfo object corresponding to filenameon the file system or an open file objectfileobj arcname is an alternative name for the object in the archive the primary use of this function is to create an appropriate tarinfo object for use in methods such as add( ignore_zeros if this attribute is set to trueempty blocks are skipped when reading an archive if it' set to false (the default)an empty block signals the end of the archive setting this method to true may be useful for reading damaged archive list([verbose]lists the contents of the archive to sys stdout verbose determines the level of detail if this method is set to falseonly the archive names are printed otherwisefull details are printed (the defaultt next( method used for iterating over the members of an archive returns the tarinfo structure for the next archive member or none posix if this attribute is set to truethe tar file is created according to the posix standard this places restrictions on filename lengths and file size (filenames must be less than characters and files must be less than gb in sizeif this attribute is set to falsethe archive is created using gnu extensions that lift these restrictions the default value is false many of the previous methods manipulate tarinfo instances the following table shows the methods and attributes of tarinfo instance ti attribute description ti gid ti gname ti isblk(ti ischr(ti isdev(ti isdir(ti isfifo(ti isfile(ti islnk(ti isreg(group id group name returns true if the object is block device returns true if the object is character device returns true if the object is device (characterblockor fiforeturns true if the object is directory returns true if the object is fifo returns true if the object is regular file returns true if the object is hard link same as isfile( lib fl ff