def is_iterable(obj):
try:
iter(obj)
return True
except TypeError:
return FalseIs there a better way? -- Neil Cerutti -- http://mail.python.org/mailman/listinfo/python-list
def is_iterable(obj):
try:
iter(obj)
return True
except TypeError:
return FalseIs there a better way? -- Neil Cerutti -- http://mail.python.org/mailman/listinfo/python-list