python

python 一个小内容不够

 

liTitle = []
liTable = []
dicTableField = {}
for items in config.items("deviceMonitor"):
print(items)
liTitle.append(items[0])
if items[1].split(",")[0] not in liTable:
liTable.append(items[1].split(",")[0])
dicTableField[items[1].split(",")[0]]=[]
dicTableField[items[1].split(",")[0]].append(items[1].split(",")[1])
posted @ 2021-03-30 21:02  小城熊儿  阅读(54)  评论(0编辑  收藏  举报