2019-03-16 19:52:44
根据底层的编码来去噪音,unicodedata.category()参考链接:http://ju.outofmemory.cn/entry/374250类型码类型信息LuLetter, uppercaseLlLetter, lowercaseLtLetter, titlecaseLmLetter, modifierLoLetter, otherMnMark, nonspacingMcMark, spacing combiningMeMark, enclosingNdNumber, decimal
2019-03-16 11:47:57
运用return直接return 函数返回速度能提高10倍以上。
2019-03-16 09:28:06
单例模式的好处:实现多个实例类的时候,实现共享,节省内存,加速,类里面不用self,而换成cls。方法一:方法二: