04 2023 档案
摘要:if命令 常见用法: if "字符串1" == “字符串2 command语句 if 数值1 equ 数值2 command语句 if exist filename command语句 if not exist filename command语句 if errorlevel 数值 command语
阅读全文
摘要:Python之正则表达式 正则表达式重在处理字符串规则 普通字符 import re # 普通字符 result = re.findall("p", "python") print(result, type(result)) result = re.findall("o", "I love pyth
阅读全文
摘要:标准库之os 系统相关变量和操作 文件和目录相关操作 执行命令和管理进程 import os # 1.系统相关的内容 print(os.name) print(os.environ) # 环境变量 print(os.sep) # 查看分隔符 print(os.pathsep) # windows是;
阅读全文
摘要:安装Docker curl -sSL https://get.daocloud.io/docker | sh 开机启动 sudo systemctl enable docker 配置国内镜像 vim /etc/docker/daemon.json { "registry-mirrors" : [ "
阅读全文