str.isalnum

isalnum()

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

For 8-bit strings, this method is locale-dependent.

 

A Django site. rendered by a django application. hosted by webfaction.