def isAlphanum(c):
 return (((c >= 'a') and (c <= 'z')) or ((c >= '0') and (c <= '9')) or ((c >= 'A') and (c <= 'Z')) or (c == '_') or (c == '$') or (c == '\\') or ((c is not None) and (ord(c) > 126)))

def isAlphanum ( c ) : return ( ( ( c >= 'a' ) and ( c <= 'z' ) ) or ( ( c >= '0' ) and ( c <= '9' ) ) or ( ( c >= 'A' ) and ( c <= 'Z' ) ) or ( c == '_' ) or ( c == '$' ) or ( c == '\\' ) or ( ( c is not None ) and ( ord ( c ) > 126 ) ) )
return true if the character is a letter .