convert string `x'  to dictionary splitted by `=` using list comprehension,dict([x.split('=') for x in s.split()])