python-eval()函数的用法

某数据类型被str()转为字符串,可以通过eval()函数还原为原数据类型:

list  -->> string  -->>list

posted @ 2018-03-14 00:07  熊猫编程  阅读(125)  评论(0)    收藏  举报