If the file does not exist, is_tarfile() raises an IOError. $ python tarfile_is_tarfile.py README.txt False example.tar True bad_example.tar ...
確定! 回上一頁