Aug-04-2020, 03:32 PM
Hello everyone,
I'm a french programmer and I have a big problem.
I want to take only one side of this string but I don't now how to do.
how could I do?
Thanks for your anwser.
Goodbyes
I'm a french programmer and I have a big problem.
I want to take only one side of this string but I don't now how to do.
x = "{"xxx.xx.xxx.x": [{'host': 'xxx.xx.xxx.x', 'protocol': 'tcp', 'portid': '1', 'state': 'filtered', 'reason': 'no-response'" #I want keep this: 'protocol': 'tcp', 'portid': '1', 'state': 'filtered'And the reponse can change.('protocol': 'Null', 'portid': '31', 'state': 'open')



how could I do?
Thanks for your anwser.
Goodbyes