'[('a = 123,b = 3456,c = 789',{'D':[b'F'],'G':[b'H'],'I':[b' J'],'K':[b'L']})]'
我想解析这个字符串并从中获取J值
答案 0 :(得分:0)
var = [('a = 123,b = 3456,c = 789',{'D':[b'F'],'G':[b'H'],'I':[b 'J'],'K':[b'L']})] out =(“var [0] [1] ['I']:”,a [0] [1] ['I'])[1] [0] .decode(“utf-8”) 打印(出)