[python] Determine whether the string is all in English

str = 'She's'.replace("\'","")
str.encode('utf-8').isalpha()
# False

Guess you like

Origin blog.csdn.net/Trance95/article/details/129827487