How can I test if an argument is a sequence or a scalar?

sandravandale at sandravandale at
Tue Jan 10 19:34:12 EST 2006

Hi Jean-Paul,

Thank you for the advice, I appreciate it, my university training was
next to useless so I learn how to write good programs by the advice of
helpful people in online communities. I'm really thankfull when people
take the time to tell me when I'm doing something wrong and show me a
better way.

And I was still curious, so thank you for explaining how to distinguish
iterables from non-iterables.

Have a great day!


More information about the Python-list mailing list