I have a string which is :
>>> a = " "
>>> a.isspace()
False
>>> a
'\xe2\x80\x83\xe2\x80\x83 \xe2\x80\x83\xe2\x80\x83 \xe2\x80\x83\xe2\x80\x83 \xe2\x80\x83\xe2\x80\x83 \xe2\x80\x83\xe2\x80\x83 \xe2\x80\x83\xe2\x80\x83 \xe2\x80\x83\xe2\x80\x83 \xe2\x80\x83\xe2\x80\x83 \xe2\x80\x83\xe2\x80\x83 \xe2\x80\x83\xe2\x80\x83 \xe2\x80\x83\xe2\x80\x83 '
>>> print a
>>>
As we can see, when I print string a, it is all spaces. However, using isspace() cannot check it is a string full of spaces. How can I detect such kind of string to be a "space string"?