mysql字典表的映射关系,将Mysql元组重新映射到字典
HelloI want to convert a Mysql resulset to a dictionary.I made some code myself, and want to ask you if I do this the right way.def remapmysql(a):return (a[0], (a[1:]))def test_map():count = 100000 # ...