List/Set/Dict..

bruce bedouglas at earthlink.net
Wed Jan 14 03:53:38 CET 2009


Hi...

i have the test dict/list
 a= {"a": 'a1',"b" : "b1"}
 b= [{"a": 'a1',"b" : "b1"}]

i'm trying to figure out how to programtically tell them apart...

ie, which is a dict, and which is a list...

is there a way to accomplish this..

thanks




More information about the Python-list mailing list