标签:http ima png 分享 技术 字典 info .com spl
s = ‘a=1,b=2,c = 3‘
dic = dict((l.split(‘=‘) for l in s.split(‘,‘)))
带=号的字符串转成字典
原文地址:https://www.cnblogs.com/ahliucong/p/9220345.html