=Start= 缘由: 之前在写与中文字符处理有关的Python代码中总喜欢使用: import sysrel… 继续阅读在Python中尽量避免使用sys.setdefaultencoding(‘utf-8’)方法
标签: string
Python中的字节和字符串
=Start= 缘由: 整理总结一下最近遇到比较多的Python中字节和字符串之间的小知识点,方便以后快速参考… 继续阅读Python中的字节和字符串
Shell中的字符串包含
=Start= 搜索关键字: linux shell string contain 参考链接: http://… 继续阅读Shell中的字符串包含
Python2中的string.maketrans
搜索关键字: python string.maketrans 参考链接: https://docs.pytho… 继续阅读Python2中的string.maketrans