这是因为python3 删除了has_key()方法
可以使用新的方法:
if key in dict:
Latest posts by Zhiming Zhang (see all)
- 限制读取s3的某个文件夹下文件的权限 - 4月 14, 2021
- cli 批量restore s3DEEP_ARCHIVE - 4月 13, 2021
- 什么是gitops - 3月 25, 2021
这是因为python3 删除了has_key()方法
可以使用新的方法:
if key in dict: