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

1、列表、字典转字符串
str(list)  str(dict)
2、字符串转字典、列表
eval(str)
原文地址:https://www.cnblogs.com/hqd2008/p/7637540.html