check if var is dict

simohayha simohayha.bobo at gmail.com
Mon Aug 13 21:55:21 EDT 2007


check String is

def isStringLike(anobj):
    try: anobj + ''
    except: return False
    else: return True




More information about the Python-list mailing list