tarfile.bltn_open()

tarfile.bltn_open()

open(name[, mode[, buffering]]) -> file object

Open a file using the file() type, returns a file object. This is the preferred way to open a file. See file.__doc__ for further information.