Dec-25-2021, 05:57 PM
Hi,
I have a long experience in computing but not in python. I need to understand this :
combinableLayers=[l for l in combinableLayers if len(l)>1 ]
I have of course found what is a list, what is a for loop but impossible to understand this line, especially " l for l .."
Can someone please help me ?
Thanks && regards
aka
I have a long experience in computing but not in python. I need to understand this :
combinableLayers=[l for l in combinableLayers if len(l)>1 ]
I have of course found what is a list, what is a for loop but impossible to understand this line, especially " l for l .."
Can someone please help me ?
Thanks && regards
aka