2021年5月28日

python2 vs python3的区别汇总

摘要: 1.str的区别 python2 中 unicode 和 str 之间的转换及与python3 str 的区别 由此引申出加解密时的str的处理: # 基于python3 import base64 str01 = "blue加勒比" str_base = base64.b64encode((":" 阅读全文

posted @ 2021-05-28 17:09 进击的davis 阅读(113) 评论(0) 推荐(0) 编辑

导航