Hi, I have a variable, I want to check if it is a dictionary or a string. Is there any better way to do this than I've done. How I did it is by doing a .items() and catching a AttributeError that it raises if its not a dictionary. How do i properly do it? Thanks Astan -- http://mail.python.org/mailman/listinfo/python-list
- check if var is dict Astan Chee
- Re: check if var is dict Jeff McNeil
- Re: check if var is dict Wildemar Wildenburger
- Re: check if var is dict Bruno Desthuilliers
- Re: check if var is dict simohayha
- Re: check if var is dict Lawrence Oluyede
- Re: check if var is dict Bruno Desthuilliers