随笔分类 - python
摘要:(以下纯属为笨蛋博猪的个人笔记) 一、首先下载准备 https://github.com/protocolbuffers/protobuf/releases 下载需要的版本 二、配置环境变量 解压后复制路径 配置环境变量 三、验证 protoc --version 篇外:使用git gui 下载新版
阅读全文
摘要:一、内置函数(python3.0以上的版本) 二、字符编码的转换 py2字符编码的转换: str = "我是字符串" #utf-8解码成unicode编码 str_to_unicode = str.decode( "utf-8") print( " str_to_unicode ") print(s
阅读全文