In article <982149142.9745 at master.nyc.kbcfp.com>, "Burkhard Kloss" <bk at xk7.com> writes: | def is_seq(a): | try: | len(a) | return 1 | except: | return 0 len() also works on mappings. -- erno