当前位置:嗨网首页>书籍在线阅读

23-习题

  
选择背景色: 黄橙 洋红 淡粉 水蓝 草绿 白色 选择字体: 宋体 黑体 微软雅黑 楷体 选择字体大小: 恢复默认

10.7 习题

1. shutil.copy()shutil.copytree() 之间的区别是什么?

2.什么函数用于文件重命名?

3. send2trashshutil 模块中的删除函数之间的区别是什么?

4. ZipFile 对象有一个 close() 方法,就像 File 对象的 close() 方法。 ZipFile 对象的什么方法等价于 File 对象的 open() 方法?