我有如下字符串:
s = 'key1=1234 key2="string with space" key3="SrtingWithoutSpace"'
我想转换成字典如下:
key | value -----|-------- key1 | 1234 key2 | string with space key3 | SrtingWithoutSpace
我如何在Python中执行此操作?
python dictionary
dictionary ×1
python ×1