convert string to dictionary in python (passing dict as plain str)
I have a string test_string = "{Team A: [service1, service2], Team B: [service3, service4], Team 3: [service5, service6] }" I want to know a way to convert this into a dictionary in python >Solution : The yaml library is able to load this. It will turn all your items into strings, unless they are parseable… Read More convert string to dictionary in python (passing dict as plain str)