satoru, I should point out that the normal approach is to just try whatever it is that you're doing, and let it fail where it fails. For example:
def processSeq(x): for i in x: print i processSeq([1, 2, 3]) processSeq("foobar") processSeq(5) <-- This will fail. cheers James On Sat, Sep 20, 2008 at 7:28 PM, satoru <[EMAIL PROTECTED]> wrote: > hi, all > i want to check if a variable is iterable like a list, how can i > implement this? > -- > http://mail.python.org/mailman/listinfo/python-list > -- -- -- "Problems are solved by method" -- http://mail.python.org/mailman/listinfo/python-list