Home

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

previous
next

Re: list index()
Re: How to pass a huge matrix to a function
Re: Search path for python script
Re: decorators - more than just syntactic sugar
no more reload() in py3k
Krwinka
Mam Marzenie
Pajacyk
Niechciane i Zapomniane
Fundacja Iskierka