Python 下使用tarfile模块来实现文件归档压缩与解压. 1.压缩,创建tar.gz包. #!/usr/bin/env python. import os. import tarfile. #创建压缩包名.
確定! 回上一頁