splitting semicolon-separated twine dictionary, python
i have twine looks this:
"name1=value1;name2=value2;name3=value3"
is there built-in class/function python take twine make dictionary, nonetheless i finished this:
dict = {
"name1": "value1",
"name2": "value2",
"name3": "value3"
}
i have looked by modules accessible nonetheless can't seem anything matches.
thanks, i know applicable formula myself, nonetheless given such smallish solutions wholly mine-fields sharp occur (ie. someone writes: name1='value1=2';) etc. following i wholly move pre-tested function.
i'll myself then.
Comments
Post a Comment