字符编码,时间格式转换
摘要:普通字符串可以用多种方式编码成Unicode字符串,具体要看你究竟选择了哪种编码:unicodestring = u"Hello world" # 将Unicode转化为普通Python字符串:"encode" utf8string = unicodestring.encode("utf-8") a
阅读全文
posted @ 2018-05-30 21:44
posted @ 2018-05-30 21:44
posted @ 2018-05-27 17:28