Help to understand the data structure

Mohan L l.mohanphy at gmail.com
Fri Sep 27 08:41:37 EDT 2019


Hi All,

I am using get_devices_list method from this module:
https://github.com/Tufin/pytos/blob/master/pytos/securetrack/helpers.py.
Here is my two like code and output looks like:
https://pastebin.com/K9KBeqYL


I am not able to manage to further loop the data to print below output:


devicename1 10

devicename2 11

devicename3 12


I spend quit some time still not able to figure out how to parse. Can some
one through some light on how to phrase it.


--
Thanks & Regards
Mohan L



More information about the Python-list mailing list