让这是具有更多相似词典的 .ini 文件的内容
[section]
cmd_list = {'gamess': "416.gamess/exe/gamess",
'sjeng': '458.sjeng/exe/sjeng',
'soplex': '450.soplex/exe/soplex',
'astar': '473.astar/exe/astar',
}
...
现在在我的主文件中并希望动态访问字典:
for r in 'string'
cmd_list[r][1] #from .ini
cmd_list[r][0] #from .ini
....
怎么做?