The for
loop expects that each item in the iterable can be unpacked into two variables. So in your case, it'd look something like one of these:
[('a, b'), ('c, d'), ...]
[['a, b'], ['c, d'], ...]
['ab', 'cd', ...]
...
Each item in each of those iterables can be split up into a k
and a v
component. In your case, they cannot, as the output of x.split('=')
is a list of strings with more than two characters:
['abc', 'asflskfjla']
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…