TypeError: string indices must be integers
#TypeError:字符串索引必须是整数
TypeError: 'str' object does not support item assignment
#TypeError:“str”对象不支持项分配
test_dict = {}
test_dict['a'] = 'a'
test_dict['a']['b'] = 'b'
print(test_dict)
KeyError: 'network'