摘要: import sys from xml.dom.minidom import parse def readXML(): domTree = parse("D:\下载\CNBlogs_BlogBackup_131_201711_202004.xml") rootNode = domTree.docum 阅读全文
posted @ 2020-04-26 12:01 abcyrf 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 使用花生壳 https://hsk.oray.com/ 阅读全文
posted @ 2019-11-05 11:21 abcyrf 阅读(97) 评论(0) 推荐(0) 编辑
摘要: sudo tee /etc/docker/daemon.json 阅读全文
posted @ 2019-11-04 23:18 abcyrf 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 原始参考代码:https://download.csdn.net/download/liuj1314/11351556 阅读全文
posted @ 2019-08-13 10:15 abcyrf 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 常用数据类型 整数、浮点数、字符串、布尔值、空值、 字符串编码 默认使用unicode编码,通过encode转换成byte数组,byte通过decode转换成unicode字符串。 常用数据结构 list tuple set dict 列表生成式 生成list [1, 2, 3, 4, 5, 6, 阅读全文
posted @ 2019-07-12 14:58 abcyrf 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 下载docker 1.12.6.tgz 配置docker镜像源 阅读全文
posted @ 2019-02-27 17:16 abcyrf 阅读(2904) 评论(1) 推荐(0) 编辑
摘要: 参考https://blog.csdn.net/zhongxon/article/details/54709347 1) 下载anaconda (Anaconda3 5.2.0 Windows x86_64.exe) https://repo.continuum.io/archive/ anacon 阅读全文
posted @ 2019-02-13 15:41 abcyrf 阅读(309) 评论(0) 推荐(0) 编辑
摘要: 安装supervisor pip install supervisor 输入如下命令获得配置文件 echo_supervisord_conf 在配置文件底部增加如下配置 启动 查看状态 阅读全文
posted @ 2018-12-10 10:59 abcyrf 阅读(1200) 评论(0) 推荐(0) 编辑
摘要: 下载etcd 二进制安装包。 https://github.com/etcd io/etcd/releases 创建用户和相关目录 在 /home/etcd/conf创建三个配置文件 node1.yml node2.yml node3.yml 启动3个节点 查看集群状态 阅读全文
posted @ 2018-12-04 15:43 abcyrf 阅读(1718) 评论(0) 推荐(0) 编辑
摘要: 代码 效果 阅读全文
posted @ 2018-11-28 11:20 abcyrf 阅读(2867) 评论(1) 推荐(0) 编辑