How to judge equality by reading Chinese characters in excel by python

use python to read the excel table and find out whether each sentence is marked with". (Chinese full stop) end. But it seems that because of the coding problem, pycharm recognized"?" A question mark, an unrecognizable meaning. How to solve this coding problem?

if (excelStr[-1] == ""):
    print("find this sentence")

because excelStr is read from excel,". It is entered in Pycharm and is not always equal.


just keep the type consistent.
it is recommended to print the code of excelStr [- 1], if unicode, puts'. Change it to u'.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf328e-14396.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf328e-14396.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?