def rand_text_alphanumeric(length, bad=''):
 chars = ((upperAlpha + lowerAlpha) + numerals)
 return rand_base(length, bad, set(chars))

def rand_text_alphanumeric ( length , bad = '' ) : chars = ( ( upperAlpha + lowerAlpha ) + numerals ) return rand_base ( length , bad , set ( chars ) )
generate a random string with alpha and numerals chars .