摘要: name = ["test","测试"]data = {}try: # open("oooo.txt") # name[3] # data["name"] a = 1 print(a)except (KeyError,IndexError) as e: print("没有这个key", e)exce 阅读全文
posted @ 2020-07-20 21:27 安好_世界 阅读(121) 评论(0) 推荐(0) 编辑