Hello, I have a python variable with a list of words and a dictionary
>>> print (b[0]) {'peer': '127.0.0.1', 'netmask': '255.0.0.0', 'addr': '127.0.0.1'} ----------------------------------------------------------------------- >>> print (b) [{'peer': '127.0.0.1', 'netmask': '255.0.0.0', 'addr': '127.0.0.1'}] >>>
I tried everything, but I could not extract the 'addr' .
Help me please.
source share