Is there a method like isiterable? The only solution I have found so far is to call
getattr(myObj, '__iter__', False)But I am not sure how fool-proof this is.
In python, how do I determine if a variable is Iterable?Is there a method like But I am not sure how fool-proof this is.
|