# 58行 dit1 = [417] # list dit1只有一个值 坐标只有那dit1[0] # dit1[417] = int(time.time()) 肯定会报错啊 # 可以把57行改成如下代码 后面的代码删掉 dit1.insert(len(d),{XL: time.time()})