KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have string as follows: s = 'key1=1234 key2="string with space" key3="SrtingWithoutSpace"' I want to convert in to a dictionary as follows: key | value -----|-------- key1 | 1234 key2 | string with space key3 | SrtingWithoutSpace How do I do this in Python?
Tags (comma-separated)
Save Edits
Cancel