SciPy

numpy.core.defchararray.chararray.isalnum

chararray.isalnum()[source]

Returns true for each element if all characters in the string are alphanumeric and there is at least one character, false otherwise.

See also

char.isalnum