在python中动态生成变量名
prices = [5, 12, 45]
price1 = 5price2 = 12price3 = 45
price1 = prices[0]
, price2 = prices[1]
编辑
class TableFormat(tables.IsDescription): firstColumnName = StringCol(16) secondColumnName = StringCol(16) thirdColumnName = StringCol(16)
慕的地10843
一只甜甜圈
相关分类