Python第二十天 shutil 模块 zipfile tarfile 模块
注意:压缩打包/解压解包目录和文件使用tarfile模块而不要使用shutil 模块!!!
os文件的操作还应该包含移动 复制 打包 压缩 解压等操作,这些os模块都没有提供
shutil 模块也是封装的os模块
```
shutil 模块的源码
import os
import sys
'bytes' paths are not properly supported: they don't work with all functions,
sometimes they only work partially (broken exception messages), and the test
cases don't use them.
from typing import (