Python中将字符串变为变量名的方法 Always_positive 2021-04-08 77 阅读1分钟 使用eval 假设我们想要循环遍历data1,data2…data5,我们可以使用下面的方法。