摘要:
https://blog.csdn.net/qq_33472765/article/details/80839417 阅读全文
摘要:
python 中内置的可迭代的对象有 list、tuple、set、dict 等,那么我们自己怎么定义一个可迭代的对象呢?先来段代码吧 import re import reprlib RE_WORD = re.compile('\w+') class Sentence: def __init__( 阅读全文
摘要:
基础准备 修改本地时区 安装epel yum源 安装各类依赖环境,依赖包 安装3.6.6 下载Python 3.6.6 解压编译 创建链接到系统bin 验证安装,打印版本 修改pip源为国内源,目的为 pip install 加快速度 pip3配置 pip3安装虚拟环境 创建虚拟环境目录 添加环境变 阅读全文