satoru wrote: > hi, all > i want to check if a variable is iterable like a list, how can i > implement this?
untested def is_iterable(param): try: iter(param) except TypeError: return False else: return True -- By ZeD -- http://mail.python.org/mailman/listinfo/python-list