python 字符串和列表、字典的转换

1、列表、字典转字符串
str(list)  str(dict)
2、字符串转字典、列表
eval(str)
posted @ 2017-10-08 15:35  第七王爵  阅读(204)  评论(0编辑  收藏  举报