human
convert string to dict using list comprehension in python
assistant
Here is some code to convert string `x'  to dictionary splitted by `=` using list comprehension

dict([x.split('=') for x in s.split()])

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.