Re: Help to understand the data structure

2019-09-27 Thread Mohan L
Hi All, Please ignore it, I was able to figure out it. for dev in devlist: print (dev.name, dev.id) -- Thanks & Regards Mohan L On Fri, Sep 27, 2019 at 8:41 PM Mohan L wrote: > Hi All, > > I am using get_devices_list method from this module: > https://github.com/Tufin/pytos/blob/mast

Help to understand the data structure

2019-09-27 Thread Mohan L
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: devicename