04 2023 档案

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

点击右上角即可分享
微信分享提示