23-习题
10.7 习题
1. shutil.copy()
和 shutil.copytree()
之间的区别是什么?
2.什么函数用于文件重命名?
3. send2trash
和 shutil
模块中的删除函数之间的区别是什么?
4. ZipFile
对象有一个 close()
方法,就像 File
对象的 close()
方法。 ZipFile
对象的什么方法等价于 File
对象的 open()
方法?
1. shutil.copy()
和 shutil.copytree()
之间的区别是什么?
2.什么函数用于文件重命名?
3. send2trash
和 shutil
模块中的删除函数之间的区别是什么?
4. ZipFile
对象有一个 close()
方法,就像 File
对象的 close()
方法。 ZipFile
对象的什么方法等价于 File
对象的 open()
方法?