"Tim N. van der Leeuw" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > I'd like to know if there's a way to check if an object is a sequence, > or an iterable. Something like issequence() or isiterable().
How about try: it = iter(possible_iterable) except TypeError: bail() Terry Jan Reedy -- http://mail.python.org/mailman/listinfo/python-list