human
Splitting a semicolon-separated string to a dictionary, in Python
assistant
Here is some code to split a string `s` by ';' and convert to a dictionary

dict(item.split('=') for item in s.split(';'))

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